5 ms·
The Haskell's record/struct syntax is probably the worst of any language. C style: a.b.c = 1; Haskell: let b' = b a c' = 1 + c b' b'
by okasaki 12y ago
The Haskell's record/struct syntax is probably the worst of any language.
C style:
a.b.c = 1;
Haskell:
let b' = b a
c' = 1 + c b'
b'' = b' { c = c' }
in c' { b = b'' }