it.grypho.scala.leonardo.core.Keyworded
See theKeyworded companion object
trait Keyworded
A kind whose cases are spelled by a word at the prompt — a distribution family, a test, a method slot word (F_0148).
Seventeen kind enums spelled that word three ways — a val word on the case, a companion keyword(k), a fnName — and only three offered the reverse lookup. Each now mixes this in with a concrete keyword, so one question ("what does the user type for this?") has one spelling, and Keyworded.byKeyword answers the reverse for all of them. A trait, not an abstract member on a shared base: the enums are sealed, and mixing a trait in adds an interface rather than an obligation (the MiMa rule NamedFunction follows).
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
enum DiscretisationMethodenum RiccatiKindenum StructureKindenum ConstantKindenum DefuzzMethodenum MinimalKindenum NormalKindenum Subspaceenum OdeMethodenum MinimizeMethodenum NlpMethodenum DistKindenum Queryenum ReduceKindenum SeqKindenum Alternativeenum PairStatKindenum StatKindenum TestKind
Members list
In this article