A macro which reifies a list of all case objects of a sealed trait or class T
.
A macro which reifies a list of all case objects of a sealed trait or class T
.
WARNING: the order of case objects in the resulting list is guaranteed to be consistent with
declaration order ONLY for enums extending OrderedEnum. Otherwise, the order may be arbitrary.
Infers a list of instances of given typeclass TC
for all non-abstract subtypes of a sealed hierarchy root T
.
Infers a list of instances of given typeclass TC
for all non-abstract subtypes of a sealed hierarchy root T
.