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 -- )
unchanged-vocabs [
[ [ lookup-vocab f >>source-loaded? drop ] each ]
[ [ lookup-vocab f >>docs-loaded? drop ] each ] bi*
] [
union
[ unchanged-vocabs ] [ require-all load-failures. ] bi
] 2bi ;