The Lambda Lab
/
projects
/
scheme.forth.jl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
First tentative macro expansion working.
[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))