to-refresh ( prefix -- modified-sources modified-docs unchanged )


Vocabulary
vocabs.refresh

Definition
USING: kernel sequences sets vocabs ;

IN: vocabs.refresh

: to-refresh
( prefix -- modified-sources modified-docs unchanged )
loaded-child-vocab-names [ ".private" tail? ] reject [
[ [ vocab-source-modified? ] filter ]
[ [ vocab-docs-modified? ] filter ] bi
] [ [ 2dup append ] dip swap diff ] bi ;