haskell - Applicative style understanding -
i write following:
(+) <$> 3 <*> 5 <*>' (+) <*> 6 however problem need somehow flip <*>. idiomatic way in haskell type of chaining i'm trying?
<**> control.applicative flip <*>. example can work that, rearranged:
>((+) <$> 3 <*> 5) <**> ((+) <$> 6) 14
Comments
Post a Comment