
27 Jul
2006
27 Jul
'06
10:47 a.m.
I'm all for making Haskell easy for beginners, but as Simon points out, this change shouldn't really affect them. Since I'm also a fan of using Haskell as the host for embedded DSL's, I think this would be a good addition, since it provides more flexibility with the syntax. -Paul Simon Peyton-Jones wrote:
Just to be clear, to get rebindable syntax in GHC today, you have to ask for it explicitly, via -fno-implicit-prelude
If you use that flag, you'd better know what it means. It already means that do-notation uses whatever (>>) and (>>=) are in scope, not Control.Monad.(>>) etc. This if-thing is just another example.
No beginner will encounter this complication; they'd have to ask for it.
Simon