diff options
Diffstat (limited to 'stdlib/source/lux/data/product.lux')
-rw-r--r-- | stdlib/source/lux/data/product.lux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/lux/data/product.lux b/stdlib/source/lux/data/product.lux index 2a25e53a0..fe31c2020 100644 --- a/stdlib/source/lux/data/product.lux +++ b/stdlib/source/lux/data/product.lux @@ -15,13 +15,13 @@ (All [a b c] (-> (-> [a b] c) (-> a b c))) - (lambda [x y] + (function [x y] (f [x y]))) (def: #export (uncurry f) (All [a b c] (-> (-> a b c) (-> [a b] c))) - (lambda [xy] + (function [xy] (let [[x y] xy] (f x y)))) @@ -33,5 +33,5 @@ (def: #export (both f g) (All [a b c] (-> (-> a b) (-> a c) (-> a [b c]))) - (lambda [input] + (function [input] [(f input) (g input)])) |