Handbook
Glossary
remember-class ( class loc -- )
Factor handbook
»
The implementation
»
Definitions
»
Compilation units
»
Compilation units internals
Prev:
remember-definition ( definition loc -- )
Next:
forward-reference? ( word -- ? )
Vocabulary
compiler
.
units
Inputs
class
an
object
loc
an
object
Outputs
None
Definition
USING:
compiler.units.private
kernel
namespaces
sequences
sets
;
IN:
compiler.units
:
remember-class
( class loc -- )
new-definitions
get
first2
[
dupd
in?
[
dup
throw-redefine-error
]
when
]
[
(remember-definition)
]
bi-curry*
bi*
;