Re:Beyond Functional Programming: The Verse Programming Lang...
by haliq on Monday December 12, 2022 @03:14PM
(#33959599)
I think false is sugar for the empty tuple / array. `?` is an operator that turns tuples / arrays back into choices. Thus `false?` can be seen as an expression that returns no values, which is semantically falsy in the language.
[ Parent
| on HN ]
Re:Beyond Functional Programming: The Verse Programming Lang...
by gergo_barany on Monday December 12, 2022 @04:44PM
(#33960859)
Ah, that makes sense. Thanks! It should still not be the default name for this construct.