[Haskell-cafe] Re: standard function

apfelmus apfelmus at quantentunnel.de
Wed Jun 6 10:27:26 EDT 2007


Steffen Mazanek wrote:
> is there a function f::[a->b]->a->[b] in the libraries?

There is, it's called 'sequence' :) You need to import
Control.Monad.Instances though, to get the famous reader monad ((->) a).

Regards,
apfelmus



More information about the Haskell-Cafe mailing list