diff options
author | Eduardo Julian | 2015-04-26 16:51:17 -0400 |
---|---|---|
committer | Eduardo Julian | 2015-04-26 16:51:17 -0400 |
commit | 8b7f5c6d38d45c1f38aa2c416afbd8c38f0bfafb (patch) | |
tree | 9aaebc94ac723daebb9fbd879da7651bbf0bea7c /source | |
parent | 50d36ed6fb12545c429f981ae4b382dc0913697d (diff) |
Made a correction to lux.lux and the analyser regarding how to handle type-vars.
Diffstat (limited to 'source')
-rw-r--r-- | source/lux.lux | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/lux.lux b/source/lux.lux index 19a89c8ee..c5a532a2a 100644 --- a/source/lux.lux +++ b/source/lux.lux @@ -516,9 +516,10 @@ (fold f (f init x) xs'))) (def (reverse' list) - (->' ($' List Syntax) ($' List Syntax)) - (fold (:' (->' ($' List Syntax) Syntax - ($' List Syntax)) + (All' [a] + (->' ($' List (B' a)) ($' List (B' a)))) + (fold (:' (All' [a] + (->' ($' List (B' a)) (B' a) ($' List (B' a)))) (lambda [tail head] (#Cons [head tail]))) #Nil |