Hacker News new | ask | show | jobs
by herrherrmann 1344 days ago
Oh wow, I wonder what the Boolean value “maybe” is about! (It’s mentioned e.g. on the quickstart page.)
3 comments

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 :)
maybe "null", can't think of anything else.