In Metamodel::EnumHOW§

See primary documentation in context for method set composalizer.

method set_composalizer($c)

Sets the composalizer for an enum, which produces a type that can be mixed in with another. $c should be a routine of some that has the following signature:

:($type, $name, @enum_values)