The Arturo Programming Language
arturo-lang.io
The Arturo Programming Language
1–10 of 25 posts
Re: The Arturo Programming Language
#2Re: The Arturo Programming Language
#3Oh wow, I wonder what the Boolean value “maybe” is about! (It’s mentioned e.g. on the quickstart page.)
Re: The Arturo Programming Language
#4Re: The Arturo Programming Language
#5Re: The Arturo Programming Language
#6Oh wow, I wonder what the Boolean value “maybe” is about! (It’s mentioned e.g. on the quickstart page.)
So some kind of 3-valued logic with a conversion to true.
Re: The Arturo Programming Language
#7; more comparisons
and in other places, in chrome.
The language is already so spatially dense/verbose, why use the full word "function" when fn would do?
Strange that sometimes expressions are in parens and other times sqbrackets:
when? [>2] -> print "1 is greater than 2. what?!"
when? [ print "1 is less than 0. nope..."
Some things make me do a double take, where consistent style will dictate one way to do something, but will be an endless hassle to watch out for the other: a: (2 > 3)["yes"]["no"] ; a: "no"
a: (2 > 3)? -> "yes" -> "no" ; a: "no" (exactly the same as above)Re: The Arturo Programming Language
#8Oh wow, I wonder what the Boolean value “maybe” is about! (It’s mentioned e.g. on the quickstart page.)
Testing in the playground: and? maybe true = maybe; and? maybe false = false; or? maybe false = maybe; or? maybe true = true; if maybe then "t" else "f" = "t". So some kind of 3-valued logic with a conversion to true.
if maybe then "t" else "f" = "t".
Wow, a very brave design decision :)Re: The Arturo Programming Language
#9Re: The Arturo Programming Language
#10 loop(my $i; $i
[0]: https://docs.raku.org/syntax/loop