Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- type Record = (Rec Reco :: [(Symbol, Type)] -> Type)
- data Reco
- untag :: Tagged l v -> v
- getLabel :: Tagged l v -> Label l
- (.==.) :: Label l -> v -> Tagged l v
- (.**.) :: Require (OpExtend Reco l v r) (Text "" ': ([] :: [ErrorMessage])) => Tagged l v -> Rec Reco r -> ReqR (OpExtend Reco l v r)
- (##) :: Require (OpLookup Reco l r) ([] :: [ErrorMessage]) => Rec Reco r -> Label l -> ReqR (OpLookup Reco l r)
- emptyRecord :: Record ('[] :: [(Symbol, Type)])
Documentation
index type
Instances
(Show v, KnownSymbol l, Show (Record ((,) l' v' ': r))) => Show (Record ((,) l v ': ((,) l' v' ': r))) Source # | |
(Show v, KnownSymbol l) => Show (Record ((,) l v ': ([] :: [(Symbol, Type)]))) Source # | |
Show (Record ([] :: [(Symbol, Type)])) Source # | |
type ShowField Reco Source # | |
Defined in Data.GenRec.RecInstances.Record | |
type ShowRec Reco Source # | Type level show utilities |
Defined in Data.GenRec.RecInstances.Record | |
type WrapField Reco (v :: Type) Source # | field type |
Defined in Data.GenRec.RecInstances.Record |
(.**.) :: Require (OpExtend Reco l v r) (Text "" ': ([] :: [ErrorMessage])) => Tagged l v -> Rec Reco r -> ReqR (OpExtend Reco l v r) infixr 2 Source #
extension