Add handling of dotted functions when not wrapped with a big lambda.
original commit: 1bef5f9d0b7af964d904575dc6976d132ba76b5c
This commit is contained in:
parent
31f4011387
commit
a313b99999
|
@ -164,9 +164,10 @@
|
|||
(define -Sexp (-mu x (*Un Sym N B -String (-val null) (-pair x x))))
|
||||
(define -Port (*Un -Input-Port -Output-Port))
|
||||
|
||||
(define (-lst* . args) (if (null? args)
|
||||
(-val null)
|
||||
(-pair (car args) (apply -lst* (cdr args)))))
|
||||
(define (-lst* #:tail [tail (-val null)] . args)
|
||||
(if (null? args)
|
||||
tail
|
||||
(-pair (car args) (apply -lst* #:tail tail (cdr args)))))
|
||||
|
||||
|
||||
#;(define NE (-mu x (Un N (make-Listof x))))
|
||||
|
|
Loading…
Reference in New Issue
Block a user