
7 Dec
2001
7 Dec
'01
5:12 p.m.
I'm wondering why Haskell doesn't support Scheme-like cond statements or a pattern matching predicate. cond c1->v1 c2->v2 .... or possibly cond | c1 -> v1 | c2 -> v2 ... would translate as case () of _ | c1 -> v1 | c2 -> v2 | .... also, it seems that a match predicate could occasionally be useful match p v would mean case v of p -> True _ -> False
8565
Age (days ago)
8565
Last active (days ago)
0 comments
1 participants
participants (1)
-
David Feuer