On Sun, May 12, 2002 at 09:31:38PM -0700, Ashley Yakeley wrote:
> I have recently been experimenting writing code that replaces large
> chunks of the Prelude, compiling with -fno-implicit-prelude. I notice
> that I can happily redefine numeric literals simply by creating functions
> called 'fro
Ashley writes
| > I was hoping to do something similar for 'do' notation by redefining
| > (>>), (>>=) etc., but unfortunately GHC is quite insistent
| that 'do' notation quite specifically refers to GHC.Base.Monad
Dylan replies
| I'm surprised that ghc uses the fromInteger and fromRational