aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/lux/data/list.lux2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lux/data/list.lux b/source/lux/data/list.lux
index 7b9d4a60b..563282f32 100644
--- a/source/lux/data/list.lux
+++ b/source/lux/data/list.lux
@@ -190,7 +190,7 @@
(#;Cons [x (#;Cons [sep (interpose sep xs')])])))
(def #export (size list)
- (-> List Int)
+ (All [a] (-> (List a) Int))
(foldL (lambda [acc _] (i:+ 1 acc)) 0 list))
(do-template [<name> <init> <op>]