Another example, putting in starred for dots.
This commit is contained in:
parent
2bf691991c
commit
af12feb729
|
@ -8,3 +8,9 @@
|
|||
|
||||
#{(f y) :: (Integer Integer -> Integer)}
|
||||
|
||||
(: z (Integer * -> Integer))
|
||||
(define (z . xs) (apply + xs))
|
||||
|
||||
((f z) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18)
|
||||
#;
|
||||
#{(f z) :: (Integer * -> Integer)}
|
Loading…
Reference in New Issue
Block a user