Newtype
Attributes
- Graph
-
- Supertypes
- Known subtypes
Members list
Type members
Inherited and Abstract types
Attributes
- Inherited from:
- NewtypeCustom
Value members
Concrete methods
Function that will used to check runtime values before lifting them into the newtype. Should be consistent with validateInline
.
Function that will used to check runtime values before lifting them into the newtype. Should be consistent with validateInline
.
Attributes
Function that will be used to check compile-time values before lifting them into the newtype. Should be consistent with validate
.
Function that will be used to check compile-time values before lifting them into the newtype. Should be consistent with validate
.
Attributes
Inherited methods
Attributes
- Inherited from:
- NewtypeCustom
Attributes
- Inherited from:
- NewtypeCustom
Attributes
- Inherited from:
- NewtypeCustom
Attributes
- Inherited from:
- NewtypeCustom
Attributes
- Inherited from:
- NewtypeCustom
Converts an instance of the underlying type to an instance of the newtype.
Converts an instance of the underlying type to an instance of the newtype.
Attributes
- Inherited from:
- NewtypeCustom
Derives an instance of a type class for the new type given an instance of the type class for the underlying type. The caller is responsible for the type class being a valid instance for the new type.
Derives an instance of a type class for the new type given an instance of the type class for the underlying type. The caller is responsible for the type class being a valid instance for the new type.
Attributes
- Inherited from:
- NewtypeCustom
Attributes
- Inherited from:
- NewtypeCustom
Attributes
- Inherited from:
- NewtypeCustom
Allows pattern matching on newtype instances to convert them back to instances of the underlying type.
Allows pattern matching on newtype instances to convert them back to instances of the underlying type.
Attributes
- Inherited from:
- NewtypeCustom
Converts an instance of the newtype back to an instance of the underlying type.
Converts an instance of the newtype back to an instance of the underlying type.
Attributes
- Inherited from:
- NewtypeCustom
Converts an instance of a type parameterized on the newtype back to an instance of a type parameterized on the underlying type. For example, this could be used to convert a list of instances of the newtype back to a list of instances of the underlying type.
Converts an instance of a type parameterized on the newtype back to an instance of a type parameterized on the underlying type. For example, this could be used to convert a list of instances of the newtype back to a list of instances of the underlying type.
Attributes
- Inherited from:
- NewtypeCustom
Converts an instance of the underlying type to an instance of the newtype. Ignores the assertion.
Converts an instance of the underlying type to an instance of the newtype. Ignores the assertion.
Attributes
- Inherited from:
- NewtypeCustom
Converts an instance of a type parameterized on the underlying type to an instance of a type parameterized on the newtype.
Converts an instance of a type parameterized on the underlying type to an instance of a type parameterized on the newtype.
Attributes
- Inherited from:
- NewtypeCustom
Implicits
Inherited implicits
Attributes
- Inherited from:
- NewtypeCustom