aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/data/sum.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/data/sum.lux2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/source/lux/data/sum.lux b/stdlib/source/lux/data/sum.lux
index ade411e6b..2c71f67d4 100644
--- a/stdlib/source/lux/data/sum.lux
+++ b/stdlib/source/lux/data/sum.lux
@@ -13,7 +13,7 @@
(def: #export (either f g)
(All [a b c] (-> (-> a c) (-> b c)
(-> (| a b) c)))
- (lambda [input]
+ (function [input]
(case input
(+0 l) (f l)
(+1 r) (g r))))