On 2017-12-04 20:05, mrx wrote:There are functions like 'curry3' ( http://hackage.haskell.org/pac
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?
kage/utility-ht-0.0.14/docs/ ) but I think if you don't need this very often, it might be easiest to just go forData-Tuple-HT.html#v:curry3
let (a,b,c) = f x in g a b c