factor/extra/closures/closures.factor

5 lines
193 B
Factor
Raw Normal View History

USING: fry namespaces kernel sequences parser ;
IN: closures
2009-05-06 22:34:27 -04:00
: delayed-bind ( quot -- quot' ) '[ namestack [ set-namestack @ ] curry ] ;
SYNTAX: C[ parse-quotation delayed-bind over push-all ;