aboutsummaryrefslogtreecommitdiff
path: root/stdlib.slip
diff options
context:
space:
mode:
authorJoel Kronqvist <joel.kronqvist@iki.fi>2025-08-18 19:07:59 +0300
committerJoel Kronqvist <joel.kronqvist@iki.fi>2025-08-18 19:07:59 +0300
commit133edb2824130873e0e590ebec603d0b6f9da6a9 (patch)
treef1abb7a453d366de27c4e4855ff15af165b09ded /stdlib.slip
parentc061d2970910c6bfb5be2d8b950a44d8c80428ca (diff)
downloadmyslip-133edb2824130873e0e590ebec603d0b6f9da6a9.tar.gz
myslip-133edb2824130873e0e590ebec603d0b6f9da6a9.zip
fix: make case type checking work according to updated tests
Diffstat (limited to 'stdlib.slip')
-rw-r--r--stdlib.slip4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib.slip b/stdlib.slip
index e73674e..107bb1f 100644
--- a/stdlib.slip
+++ b/stdlib.slip
@@ -22,8 +22,8 @@
(let sum (fix
- (fn sum' ((Int ...) -> Int) ((Int ...) -> Int)
- (fn vec (Int ...) Int
+ (fn sum' ((Vector (Int ...)) -> Int) ((Vector (Int ...)) -> Int)
+ (fn vec (Vector (Int ...)) Int
(case vec
((h ..t) (+ h (sum' t)))
(_ 0))