Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type FieldLabelEnv = DFastStringEnv FieldLabel
- data FieldLabel = FieldLabel {}
- flLabel :: FieldLabel -> FieldLabelString
- data DuplicateRecordFields
- data FieldSelectors
- flIsOverloaded :: FieldLabel -> Bool
Documentation
type FieldLabelEnv = DFastStringEnv FieldLabel Source #
A map from labels to all the auxiliary information
data FieldLabel Source #
Fields in an algebraic record type; see Note [FieldLabel].
FieldLabel | |
|
Instances
Data FieldLabel Source # | |
Defined in GHC.Types.FieldLabel gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FieldLabel -> c FieldLabel Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FieldLabel Source # toConstr :: FieldLabel -> Constr Source # dataTypeOf :: FieldLabel -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FieldLabel) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FieldLabel) Source # gmapT :: (forall b. Data b => b -> b) -> FieldLabel -> FieldLabel Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FieldLabel -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FieldLabel -> r Source # gmapQ :: (forall d. Data d => d -> u) -> FieldLabel -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> FieldLabel -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> FieldLabel -> m FieldLabel Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FieldLabel -> m FieldLabel Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FieldLabel -> m FieldLabel Source # | |
NFData FieldLabel Source # | |
Defined in GHC.Types.Name rnf :: FieldLabel -> () Source # | |
HasOccName FieldLabel Source # | |
Defined in GHC.Types.FieldLabel occName :: FieldLabel -> OccName Source # | |
Binary Name => Binary FieldLabel Source # | We need the |
Defined in GHC.Types.FieldLabel put_ :: BinHandle -> FieldLabel -> IO () Source # put :: BinHandle -> FieldLabel -> IO (Bin FieldLabel) Source # | |
Outputable FieldLabel Source # | |
Defined in GHC.Types.FieldLabel ppr :: FieldLabel -> SDoc Source # | |
Eq FieldLabel Source # | |
Defined in GHC.Types.FieldLabel (==) :: FieldLabel -> FieldLabel -> Bool # (/=) :: FieldLabel -> FieldLabel -> Bool # |
flLabel :: FieldLabel -> FieldLabelString Source #
User-visible label of a field.
data DuplicateRecordFields Source #
Flag to indicate whether the DuplicateRecordFields extension is enabled.
DuplicateRecordFields | Fields may be duplicated in a single module |
NoDuplicateRecordFields | Fields must be unique within a module (the default) |
Instances
data FieldSelectors Source #
Flag to indicate whether the FieldSelectors extension is enabled.
FieldSelectors | Selector functions are available (the default) |
NoFieldSelectors | Selector functions are not available |
Instances
flIsOverloaded :: FieldLabel -> Bool Source #