Handbook
Glossary
reset-memoized ( word -- )
Factor handbook
»
The language
»
Memoization
Prev:
define-memoized ( word quot effect -- )
Vocabulary
memoize
Inputs
word
an
object
Outputs
None
Definition
USING:
assocs
kernel
sequences
words
;
IN:
memoize
:
reset-memoized
( word -- )
"memoize"
word-prop
dup
sequence?
[
f
swap
set-first
]
[
clear-assoc
]
if
;