[Haskell-beginners] Argument order and partial function application

Tom Murphy amindfv at gmail.com
Thu Aug 19 19:39:31 EDT 2010


>
>
> If the argument order does matter you can get around some order
> restrictions using functions like flip, but it's often clearer to be
> explicit:
>
> > volumeWithWidthTen length = volumeFunction length 10
>
>
> Is that what you were looking for?
>
>

It's exactly what I'm looking for; thank you.

A nice flash of insight once in a while keeps the brain sharp.



Thanks too, Brandon, for the education about flips.

Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/beginners/attachments/20100819/e9464d79/attachment.html


More information about the Beginners mailing list