View Source LibJudge.Filter (lib_judge v0.4.3)
A collection of filters to do common searches on rules.
Each filter returns a single-argument function designed to be
used with Enum.filter/2
.
Link to this section Summary
Link to this section Types
@type filter() :: (LibJudge.Tokenizer.rule() -> boolean())
Link to this section Functions
@spec has_examples() :: filter()
@spec rule_type(LibJudge.Rule.rule_type()) :: filter()
@spec token_type(LibJudge.Tokenizer.token_type()) :: filter()