Safe Haskell | None |
---|---|
Language | GHC2021 |
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
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 # | |
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 # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FieldLabel # toConstr :: FieldLabel -> Constr # dataTypeOf :: FieldLabel -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FieldLabel) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FieldLabel) # gmapT :: (forall b. Data b => b -> b) -> FieldLabel -> FieldLabel # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FieldLabel -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FieldLabel -> r # gmapQ :: (forall d. Data d => d -> u) -> FieldLabel -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> FieldLabel -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> FieldLabel -> m FieldLabel # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FieldLabel -> m FieldLabel # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FieldLabel -> m FieldLabel # | |
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 #