I don't really understand what a "newclass" is supposed to be.
On Thu, Oct 3, 2013 at 2:15 PM, Wvv <[email protected]> wrote: > > newclass Bind a => Monad a => BMonad a where { (>>=) = (>>-) } I think this means that `BMonad` is supposed to be a new class that has both Bind and Monad in scope, the same as class (Bind a, Monad a) => BMonad a except that the Monad instance's (>>=) is replaced by (>>-). If that's what "newclass" means, it seems absolutely pointless. Does it instead mean that one could write instance Bind MyType where instance BMonad MyType
_______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
