vocabs.cache: bringing back the fry change.
parent
750d9e0faf
commit
17bd952e4a
|
@ -1,6 +1,6 @@
|
||||||
! Copyright (C) 2009 Slava Pestov.
|
! Copyright (C) 2009 Slava Pestov.
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: assocs kernel namespaces memoize init sequences vocabs
|
USING: assocs fry kernel namespaces memoize init sequences vocabs
|
||||||
vocabs.hierarchy vocabs.loader vocabs.metadata vocabs.refresh
|
vocabs.hierarchy vocabs.loader vocabs.metadata vocabs.refresh
|
||||||
words ;
|
words ;
|
||||||
IN: vocabs.cache
|
IN: vocabs.cache
|
||||||
|
@ -9,8 +9,8 @@ IN: vocabs.cache
|
||||||
vocab-name
|
vocab-name
|
||||||
[ root-cache get-global delete-at ]
|
[ root-cache get-global delete-at ]
|
||||||
[
|
[
|
||||||
\ vocab-file-contents "memoize" word-prop
|
\ vocab-file-contents "memoize" word-prop swap
|
||||||
[ drop [ first vocab-name ] [ = not ] bi* ] with assoc-filter! drop
|
'[ drop first vocab-name _ = not ] assoc-filter! drop
|
||||||
] bi
|
] bi
|
||||||
\ all-vocabs-recursive reset-memoized
|
\ all-vocabs-recursive reset-memoized
|
||||||
\ all-authors reset-memoized
|
\ all-authors reset-memoized
|
||||||
|
|
Loading…
Reference in New Issue