Conversation

Haskell '98 + MPTCs and FunDeps was a local optimum and every day we stray further from Church's light.
3
33
That's close to what I'm planning for Global Script: analyze —. case true. x, case false. y, Global Script uses Unicode for functions: λ 'x. e (Global Script is also in love with ., as you can tell, in the name of syntactic uniformity. That's the key difference from Haskell.)
1
I'm trying this currently: both-zero : U32 -> U32 -> String; both-zero n = case n { 0 0 => "yup"; 0 _ => "almost"; _ 0 => "possibly"; _ _ => "nope"; }; ie. case expressions can have multiple patterns, but there needs to be the same number for each branch.
1
1