Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- class ToT s ~ ToT (Unwrappable s) => Wrappable (s :: Type)
- type family Unwrappable s :: Type
Documentation
class ToT s ~ ToT (Unwrappable s) => Wrappable (s :: Type) Source #
Wrappable
is similar to lens Wrapped
class without the method.
It provides type family that is mainly used as constraint when
unwrapping Lorentz instruction into a Haskell newtype and vice versa.
Instances
Wrappable (UStore a) Source # | |
Defined in Lorentz.UStore.Types type Unwrappable (UStore a) Source # | |
Wrappable (UParam entries) Source # | |
Defined in Lorentz.UParam type Unwrappable (UParam entries) Source # | |
Wrappable (ParameterWrapper deriv cp) Source # | |
Defined in Lorentz.Entrypoints.Manual type Unwrappable (ParameterWrapper deriv cp) Source # | |
Wrappable (MigrationScript oldStore newStore) Source # | |
Defined in Lorentz.UStore.Migration.Base type Unwrappable (MigrationScript oldStore newStore) Source # | |
Wrappable (Extensible x) Source # | |
Defined in Lorentz.Extensible type Unwrappable (Extensible x) Source # | |
Wrappable (NamedF Maybe a name) Source # | |
Defined in Lorentz.Wrappable type Unwrappable (NamedF Maybe a name) Source # | |
Wrappable (NamedF Identity a name) Source # | |
Defined in Lorentz.Wrappable type Unwrappable (NamedF Identity a name) Source # |
type family Unwrappable s :: Type Source #
Instances
type Unwrappable (UStore a) Source # | |
Defined in Lorentz.UStore.Types | |
type Unwrappable (UParam entries) Source # | |
Defined in Lorentz.UParam | |
type Unwrappable (ParameterWrapper deriv cp) Source # | |
Defined in Lorentz.Entrypoints.Manual | |
type Unwrappable (MigrationScript oldStore newStore) Source # | |
Defined in Lorentz.UStore.Migration.Base | |
type Unwrappable (Extensible x) Source # | |
Defined in Lorentz.Extensible | |
type Unwrappable (NamedF Maybe a name) Source # | |
Defined in Lorentz.Wrappable | |
type Unwrappable (NamedF Identity a name) Source # | |
Defined in Lorentz.Wrappable |