On 4 September 2011 12:34, Daniel Peebles <[email protected]> wrote: > Hi all, > For example, if I write in a do block: > x <- action1 > y <- action2 > z <- action3 > return (f x y z) > that doesn't require any of the context-sensitivty that Monads give you, and > could be processed a lot more efficiently by a clever Applicative instance > (a parser, for instance).
What advantage is there in using Applicative rather than Monad for this? Does it _really_ lead to an efficiency increase? -- Ivan Lazar Miljenovic [email protected] IvanMiljenovic.wordpress.com _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
