
25 Jun
2007
25 Jun
'07
9:41 a.m.
Wouter Swierstra wrote:
I don't think you really want arrows here. The right idiom is applicative functors (see Control.Applicative). You could then write the above as:
calculateStuff <$> x <*> y <*> z
I think you mean calculateStuff <$> performActionA <*> performActionB <*> performActionC Regards, apfelmus