1edd186be44af1bd055e475c44679b29ba00dd9d
[scheme.forth.jl.git] / src / scheme-derived-forms.scm
1 ;; define (procedural syntax)
2
3 ; Due to recursive macro expansion, this definition also allows
4 ; for curried function definitions.
5
6 (define-macro (define args . body)
7               (if (pair? args)
8                 `(define ,(car args) (lambda ,(cdr args) ,@body))
9                 'no-match))