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

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -