
21 Feb
2017
21 Feb
'17
5:25 a.m.
What is it that you are having difficulty with? Is it "why" this is a good definition? Is it that you don't understand how it works? Ben On Tue, 21 Feb 2017 at 10:15 Olumide <50295@web.de> wrote:
Hello List,
I am having enormous difficulty understanding the definition of the bind operator of ((->) r) as show below and would appreciate help i this regard.
instance Monad ((->) r) where return x = \_ -> x h >>= f = \w -> f (h w) w
Thanks,
- Olumide
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners