lux/data/product

Functionality for working with tuples (particularly 2-tuples).

Values

(curry f)

(All [a b c] (-> (-> [a b] c) a b c))

(left xy)

(All [a b] (-> [a b] a))

(right xy)

(All [a b] (-> [a b] b))

(swap xy)

(All [a b] (-> [a b] [b a]))

(uncurry f)

(All [a b c] (-> (-> a b c) [a b] c))