
23 Apr
2009
23 Apr
'09
5:15 a.m.
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