the type constructor for new Show instances
the type constructor for new Show instances
The first parameter is fixed as String
, and the second parameter varies generically.
creates a new Show instance by labelling and joining (with mkString
) the result of
showing each parameter, and prefixing it with the class name
creates a new Show instance by labelling and joining (with mkString
) the result of
showing each parameter, and prefixing it with the class name
choose which typeclass to use based on the subtype of the sealed trait and prefix with the annotations as discovered on the subtype.
choose which typeclass to use based on the subtype of the sealed trait and prefix with the annotations as discovered on the subtype.
bind the Magnolia macro to this derivation object
bind the Magnolia macro to this derivation object
show typeclass for integers
show typeclass for sequences
show typeclass for strings
companion object to Show