[Haskell-cafe] Re: Practical Haskell question.

apfelmus apfelmus at quantentunnel.de
Mon Jun 25 05:41:03 EDT 2007


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



More information about the Haskell-Cafe mailing list