Handbook
Glossary
quotation-rewrite ( form -- form' )
Vocabulary
locals
.
rewrite
Inputs
form
an
object
Outputs
form'
an
object
Definition
IN:
locals.rewrite
GENERIC:
quotation-rewrite
( form -- form' )
Methods
USING:
locals.rewrite
make
quotations
sequences
;
M:
callable
quotation-rewrite
[
[
rewrite-sugar*
]
each
]
[
]
make
;
USING:
accessors
kernel
locals.rewrite
locals.types
sequences
;
M:
lambda
quotation-rewrite
[
body>>
]
[
vars>>
var-defs
]
bi
prepend
quotation-rewrite
;