Hahah yeah of course, I left it implicit that you'd only do this if you were changing the types (e.g. parameterized monads or what have you)

-Ross

On Apr 23, 2009, at 5:15 AM, Heinrich Apfelmus wrote:

Ross Mellgren wrote:
True enough -- if you really want to redefine the monadic operator, you
have to use

{-# LANGUAGE NoImplicitPrelude #-}

import Prelude hiding ((>>), (>>=), return)

or something like it, although Michael's example didn't appear to be
going quite that far.

Or just make it an instance of  Monad . :D


Regards,
apfelmus

--
http://apfelmus.nfshost.com

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to