support cpp define

This commit is contained in:
alex-eg
2025-06-14 18:10:20 +03:00
parent 27822cee2a
commit e1c386ebcd
2 changed files with 6 additions and 3 deletions

View File

@@ -7,15 +7,17 @@
(chicken-load "list.seh")
(define (imports-test a b c)
(chicken-define (imports-test a b c)
(fold + 0 (list 1 2 3 a b c)))
(struct foo
((float a)
((float a-field)
(int b)
((const char *) c)
((fn bool ((bool val))) not)))
(var foo f #((= .a-field 1.2)))
,(list-T '(int))
,(make-list-T '(int) #f)
,(add-value-list-T '(int) #f)