interface Show<in A>
The Show typeclass abstracts the ability to obtain a String representation of any object. It is used as a replacement for Java's Object#toString so that custom representations of the object can be printed.
show |
Returns a printable version of this object as an instance of Printed abstract fun show(a: A): Printed |
DefaultShow |
A default implementation of Show that handles arrays, collections and primitives as well as nullable values. object DefaultShow : Show<Any?> |
KClassShow |
object KClassShow : Show<KClass<*>> |
MapShow |
object MapShow : Show<Map<*, *>> |
StringShow |
object StringShow : Show<String> |