1 ! Copyright (C) 2008 Slava Pestov.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: kernel sequences accessors definitions
7 PREDICATE: symbol < constant ( obj -- ? )
8 [ def>> ] [ [ ] curry ] bi sequence= ;
10 M: symbol definer drop \ SYMBOL: f ;
12 M: symbol definition drop f ;
14 : define-symbol ( word -- )