Singleton

io.scalaland.chimney.internal.compiletime.datatypes.SingletonTypes.Singleton
See theSingleton companion object
final protected case class Singleton[A](value: Expr[A])

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
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product