Talk:Man or boy test: Difference between revisions

Haskell version – could drop the Control.Monad import with `pure (+) <*> x4 <*> x5` in lieu of the liftM2 line
(Haskell version – could drop the Control.Monad import with `pure (+) <*> x4 <*> x5` in lieu of the liftM2 line)
Line 124:
 
[[User:Dgamey|Dgamey]] 03:25, 6 May 2010 (UTC)-
 
==Haskell version==
: Perhaps skip the Control.Monad import by using an applicative alternative to liftM2 ?
:: liftM2 (+) x4 x5 is equivalent to pure (+) <*> x4 <*> x5
: [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 00:08, 14 March 2017 (UTC)
9,655

edits