No instance for (Monad ((->) Integer))

Neil Mitchell ndmitchell at gmail.com
Mon Feb 5 15:03:02 EST 2007


Hi Chad,

> Prelude> let fs = [(+2), (*4)]
> Prelude> :t fs
> fs :: [Integer -> Integer]
> Prelude> :t sequence fs

I think you need to import Control.Monad.Instances to get the
appropriate instance in scope.

Thanks

Neil


More information about the Glasgow-haskell-users mailing list