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


Vocabulary
vocabs.refresh

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

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 load-failures. ]
bi
] 2bi ;