mes: Add define-macro*.
* module/mes/optargs.mes (define-macro*): New macro.
This commit is contained in:
parent
5d68fc44ba
commit
6f81fe41b0
|
@ -34,3 +34,6 @@
|
|||
|
||||
(define-macro (define-module module . rest) #t)
|
||||
(include-from-path "mes/optargs.scm")
|
||||
|
||||
(define-macro (define-macro* NAME+ARGLIST . BODY)
|
||||
`(define-macro ,(car NAME+ARGLIST) #f (lambda* ,(cdr NAME+ARGLIST) ,@BODY)))
|
||||
|
|
Loading…
Reference in a new issue