
24 Apr
2008
24 Apr
'08
1:46 p.m.
Am Freitag, 18. April 2008 11:54 schrieb Sittampalam, Ganesh:
Simon Peyton Jones wrote:
Not allowing infix functions on the LHS would be a notable simplification.
This would significantly weaken a useful property of Haskell, that definitions and uses often share the same concrete syntax. It's very natural to be able to define things that way and it would be a real shame to lose it (and I think it would break a lot of existing code).
+1 (f . g) x = f (g x) is really nice.
In any case, I've always thought this was weird: Just x == Just y = x == y
It takes a little getting used to, but I don't find it that weird.
+1
[…]
Best wishes, Wolfgang