The module Monad of Hugs 98 990319 contains the type declaration
filterM :: MonadPlus m => (a -> m Bool) -> [a] -> m [a]
The context should be Monad m instead (as in the Haskell 98 report)
Cheers,
Olaf
--
OLAF CHITIL, Lehrstuhl fuer Informatik II, RWTH Aachen, 52056 Aachen, Germany
Tel: (+49/0)241/80-21212; Fax: (+49/0)241/8888-217
URL: http://www-i2.informatik.rwth-aachen.de/~chitil/
- RE: Monad.filterM has wrong type Olaf Chitil
- RE: Monad.filterM has wrong type Mark P Jones
