Modes.Predicate
A very crucial design points here is that the predicates are syntactic. They do not talk about the evaluation of the ordered set, but refer to what is written in the dune file, literally.
So, for example even if the evaluation of the :standard
mode includes byte
, evaluating: `has_mode `byte
on the input (:standard)
returns false
.
The reason is that dunolint focuses on linting what the user writes in the dune files, as opposed to how dune interprets it.