[Haskell-cafe] Re: Map list of functions over a single argument

David House dmhouse at gmail.com
Tue Feb 20 13:22:52 EST 2007


On 20/02/07, apfelmus at quantentunnel.de <apfelmus at quantentunnel.de> wrote:
> It's also known as
>
>   sequence :: Monad m => [m b] -> m [b]
>
> with m = (->) a

Don't forget to import Control.Monad.Instances for this to work.

-- 
-David House, dmhouse at gmail.com


More information about the Haskell-Cafe mailing list