[ check-values ]
[ check-value-effects ]
[ check-class-description ]
- [ check-class-slots ]
[ nip [ check-nulls ] [ check-see-also ] [ check-markup ] tri ]
} 2cleave
] check-something
] check-something ;
: check-about ( vocab -- )
- vocab-link boa dup
+ <vocab-link> dup
'[ _ vocab-help [ lookup-article drop ] when* ] check-something ;
: check-vocab ( vocab -- )
: :lint-failures ( -- ) lint-failures get values errors. ;
: unlinked-words ( vocab -- seq )
- words all-word-help [ article-parent not ] filter ;
+ words all-word-help [ article-parent ] reject ;
: linked-undocumented-words ( -- seq )
all-words
- [ word-help not ] filter
+ [ word-help ] reject
[ article-parent ] filter
- [ predicate? not ] filter ;
-
-MAIN: help-lint
+ [ predicate? ] reject ;