[Haskell-beginners] Understanding the function monad ((->) r)

Benjamin Edwards edwards.benj at gmail.com
Tue Feb 21 18:06:00 UTC 2017


I did, sorry!

On Tue, 21 Feb 2017 at 15:53 Olumide <50295 at web.de> wrote:

> On 21/02/2017 15:08, Benjamin Edwards wrote:
> > The thing that you might also be missing is that function application
> > binds tightest. Hopefully the parenthesis that Rahul has added help you
> > out there. If not:
> >
> > \w -> f (h w) w
> >
> > f will be applied to the result of (h r) which yields another function,
> > which is then applied to r
>
> Did you mean to write (h w)?
>
> - Olumide
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20170221/f698420c/attachment.html>


More information about the Beginners mailing list