define-typed working;; parsing keywords in lambdalists correctly next

This commit is contained in:
FelixBrendel
2019-07-06 00:35:55 +02:00
parent e0aaf351c5
commit 5716e83598
8 changed files with 44 additions and 32 deletions
+16
View File
@@ -0,0 +1,16 @@
(import "alist.slime")
(define-typed (tf n :number a :alist)
(printf n)
(pprint-alist a))
(define a (make-alist))
(alist-set! a 'a 1)
(alist-set! a 'b 2)
(tf 1 a)
(define (test a b)
(printf a b))
(test :ij :yes)