AbstractInstances.concretetype
— Methodconcretetype(T::Type)
Return a concrete mutable type with no fields which is a subtype of T
. The mutability of the returned type ensures that instances of the type are unique.
AbstractInstances.oftype
— Methodoftype(T::Type)
Create a unique instance of type, concretetype(T)
.
AbstractInstances.singleton
— Methodsingleton(T::Type)
Create an instance of type, singletontype(T)
.
AbstractInstances.singletontype
— Methodsingletontype(T::Type)
Return a concrete immutable type with no fields which is a subtype of T
. The immutability of the returned type ensures that instances of the type are singletons.