[Haskell-cafe] Re: standard function
Steffen Mazanek
haskell at steffen-mazanek.de
Wed Jun 6 10:52:24 EDT 2007
Cool! Haskell surprised me once again :)
@Paul: Thank you for pointing me to the old thread.
@Neil: Is there a way to let hoogle find this kind of stuff? It
would be a quite complex inference though.
2007/6/6, apfelmus <apfelmus at quantentunnel.de>:
>
> 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
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
--
Dipl.-Inform. Steffen Mazanek
Institut für Softwaretechnologie
Fakultät Informatik
Universität der Bundeswehr München
85577 Neubiberg
Tel: +49 (0)89 6004-2505
Fax: +49 (0)89 6004-4447
E-Mail: steffen.mazanek at unibw.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20070606/8e4f0832/attachment.htm
More information about the Haskell-Cafe
mailing list