SingletonTypes

io.scalaland.chimney.internal.compiletime.datatypes.SingletonTypes

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final protected case class Singleton[A](value: Expr[A])

Describes all types which are singletons (singleton literal types, Unit, Null, case objects, vals, ...).

Describes all types which are singletons (singleton literal types, Unit, Null, case objects, vals, ...).

Should have the same behavior as ValueOf without relying on it (it's unavailable in Scala 2.12).

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
protected object Singleton

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Singleton.type
protected object SingletonType

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type