| Safe Haskell | Ignore |
|---|---|
| Language | GHC2021 |
GHC.Types.FieldLabel
Contents
Synopsis
- type FieldLabelEnv = DFastStringEnv FieldLabel
- data FieldLabel = FieldLabel {}
- flLabel :: FieldLabel -> FieldLabelString
- data DuplicateRecordFields
- data FieldSelectors
- flIsOverloaded :: FieldLabel -> Bool
Documentation
type FieldLabelEnv = DFastStringEnv FieldLabel #
A map from labels to all the auxiliary information
data FieldLabel #
Fields in an algebraic record type; see Note [FieldLabel].
Constructors
| FieldLabel | |
Fields
| |
Instances
| NFData FieldLabel # | |
Defined in GHC.Types.Name Methods rnf :: FieldLabel -> () # | |
| Data FieldLabel # | |
Defined in GHC.Types.FieldLabel Methods 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 # | |
| HasOccName FieldLabel # | |
Defined in GHC.Types.FieldLabel Methods occName :: FieldLabel -> OccName # | |
| Binary Name => Binary FieldLabel # | We need the |
Defined in GHC.Types.FieldLabel Methods put_ :: BinHandle -> FieldLabel -> IO () # put :: BinHandle -> FieldLabel -> IO (Bin FieldLabel) # get :: BinHandle -> IO FieldLabel # | |
| Outputable FieldLabel # | |
Defined in GHC.Types.FieldLabel Methods ppr :: FieldLabel -> SDoc # | |
| Eq FieldLabel # | |
Defined in GHC.Types.FieldLabel | |
flLabel :: FieldLabel -> FieldLabelString #
User-visible label of a field.
data DuplicateRecordFields #
Flag to indicate whether the DuplicateRecordFields extension is enabled.
Constructors
| DuplicateRecordFields | Fields may be duplicated in a single module |
| NoDuplicateRecordFields | Fields must be unique within a module (the default) |
Instances
data FieldSelectors #
Flag to indicate whether the FieldSelectors extension is enabled.
Constructors
| FieldSelectors | Selector functions are available (the default) |
| NoFieldSelectors | Selector functions are not available |
Instances
flIsOverloaded :: FieldLabel -> Bool #
Orphan instances
| Uniquable FieldLabelString # | |
Methods getUnique :: FieldLabelString -> Unique # | |
| Outputable FieldLabelString # | |
Methods ppr :: FieldLabelString -> SDoc # | |