[Haskell-beginners] Unpacking tuples

mrx patrik.mrx at gmail.com
Mon Dec 4 19:05:05 UTC 2017


Hi,

If I have a function that produce tuples with three members and I want
those members as parameters for a function that takes three parameters. How
would I unpack that tuple?

It seems that curry does the trick for tuples with two members.

How do I do this when there are more than two members?

Patrik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20171204/ccc8eb11/attachment-0001.html>


More information about the Beginners mailing list