How to write (<*>) using (=<<) in Haskell

Viewed 184

Could someone explain why the following representation of (<*>) with (=<<) works:

f <*> a = (\f' -> return . f' =<< a) =<< f
2 Answers
Related