~javiljoen

Cape Town

http://javiljoen.net

~javiljoen/yatte

Last active 1 year, 9 months ago

~javiljoen/public-inbox

Last active 2 years ago

~javiljoen/lttb-devel

Last active 2 years ago
View more

Recent activity

Re: Why can a constant be reassigned? 4 days ago

From JA Viljoen to ~sircmpwn/hare-users

I see. Thank you both for clarifying!

Why can a constant be reassigned? 4 days ago

From JA Viljoen to ~sircmpwn/hare-users

Hello,

I'm going through the Introduction to Hare tutorial, and in the section
on variables and constants[0], I changed the example to see what would
happen if I try to assign to a const, e.g.:

    use fmt;

    export fn main() void = {
    	const i: int = 1, j: int = 2;
    	j = i;
    	fmt::printfln("i = {}, j = {}", i, j)!;
    };

First public release: 0.9.0 1 year, 9 months ago

From to ~javiljoen/yatte

The yatte package has been published on [PyPI];
it can now be installed with `pip install yatte`.

Please see the [docs] for usage details.

[PyPI]: https://pypi.org/project/yatte/
[docs]: https://yatte.javiljoen.net/