Transforms the given function of two arguments from "tuple curried" format to curried one.
const addPair = ([a, b]: [number, number]) => a + b;opt(1) // Some(1) .map( curryTuple(addPair)(4) // same as `(a => b => a + b)(4)` ) // Some(5) Copy
const addPair = ([a, b]: [number, number]) => a + b;opt(1) // Some(1) .map( curryTuple(addPair)(4) // same as `(a => b => a + b)(4)` ) // Some(5)
uncurryTuple
Generated using TypeDoc
Transforms the given function of two arguments from "tuple curried" format to curried one.