* Felipe Lessa wrote:
> Prelude Control.Monad> inv []
> [()]
> Prelude Control.Monad> inv [10]
> [()]

 inv m = if m == mzero then return () else mzero `asTypeOf` m

Yes, unfair.
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to