do-refresh ( modified-sources modified-docs unchanged -- )


Vocabulary
vocabs.refresh

Definition
USING: accessors kernel sequences sets vocabs vocabs.loader ;

IN: vocabs.refresh

: do-refresh ( modified-sources modified-docs unchanged -- )
mark-unchanged-vocabs [
[ [ lookup-vocab f >>source-loaded? drop ] each ]
[ [ lookup-vocab f >>docs-loaded? drop ] each ] bi*
] [ union [ mark-unchanged-vocabs ] [ require-all ] bi ] 2bi
;