One thing that confused me at 13:32 is how this expression is evaluated: k andThen (_ flatMap f) k andThen (g => g flatMap f) i => k(i) andThen (g => g flatMap f) i => (g => g flatMap f)(k(i)) i => k(i) flatMap f At first I thought it was: k andThen (_ flatMap f) g => k andThen (g flatMap f) But this makes no sense.
The speaker is an incredible author of an incredible red book that I absolutely love - functional programming in scala...
This talk is amazingly easy for layman to process, excellent.
One thing that confused me at 13:32 is how this expression is evaluated:
k andThen (_ flatMap f)
k andThen (g => g flatMap f)
i => k(i) andThen (g => g flatMap f)
i => (g => g flatMap f)(k(i))
i => k(i) flatMap f
At first I thought it was:
k andThen (_ flatMap f)
g => k andThen (g flatMap f)
But this makes no sense.