News for hackers. Stuff that matters.
Re:Arturo Programming Language by herrherrmann on Sunday October 16, 2022 @02:59PM (#33226204)
Oh wow, I wonder what the Boolean value “maybe” is about! (It’s mentioned e.g. on the quickstart page.)
Re:Arturo Programming Language by Mathnerd314 on Sunday October 16, 2022 @03:37PM (#33226540)
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.

Re:Arturo Programming Language by ajuc on Sunday October 16, 2022 @04:20PM (#33226858)

    if maybe then "t" else "f" = "t".
Wow, a very brave design decision :)
Re:Arturo Programming Language by xamolxix on Sunday October 16, 2022 @03:15PM (#33226354)
maybe "null", can't think of anything else.
Re:Arturo Programming Language by arturo-lang on Monday October 17, 2022 @07:33AM (#33232149)