Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Common data types
Documentation
A type variable name
Instances
Data TypeVar Source # | |
Defined in Language.Giml.Common gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TypeVar -> c TypeVar # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TypeVar # toConstr :: TypeVar -> Constr # dataTypeOf :: TypeVar -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TypeVar) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TypeVar) # gmapT :: (forall b. Data b => b -> b) -> TypeVar -> TypeVar # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TypeVar -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TypeVar -> r # gmapQ :: (forall d. Data d => d -> u) -> TypeVar -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> TypeVar -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> TypeVar -> m TypeVar # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TypeVar -> m TypeVar # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TypeVar -> m TypeVar # | |
IsString TypeVar Source # | |
Defined in Language.Giml.Common fromString :: String -> TypeVar # | |
Generic TypeVar Source # | |
Show TypeVar Source # | |
Eq TypeVar Source # | |
Ord TypeVar Source # | |
Pretty TypeVar Source # | |
Defined in Language.Giml.Common | |
type Rep TypeVar Source # | |
Defined in Language.Giml.Common |
A type constructor name
Instances
Data TypeCon Source # | |
Defined in Language.Giml.Common gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TypeCon -> c TypeCon # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TypeCon # toConstr :: TypeCon -> Constr # dataTypeOf :: TypeCon -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TypeCon) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TypeCon) # gmapT :: (forall b. Data b => b -> b) -> TypeCon -> TypeCon # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TypeCon -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TypeCon -> r # gmapQ :: (forall d. Data d => d -> u) -> TypeCon -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> TypeCon -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> TypeCon -> m TypeCon # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TypeCon -> m TypeCon # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TypeCon -> m TypeCon # | |
IsString TypeCon Source # | |
Defined in Language.Giml.Common fromString :: String -> TypeCon # | |
Generic TypeCon Source # | |
Show TypeCon Source # | |
Eq TypeCon Source # | |
Ord TypeCon Source # | |
Pretty TypeCon Source # | |
Defined in Language.Giml.Common | |
type Rep TypeCon Source # | |
Defined in Language.Giml.Common |
A data constructor
Instances
Data Constr Source # | |
Defined in Language.Giml.Common gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Constr -> c Constr # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr0 -> c Constr # toConstr :: Constr -> Constr0 # dataTypeOf :: Constr -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Constr) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Constr) # gmapT :: (forall b. Data b => b -> b) -> Constr -> Constr # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Constr -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Constr -> r # gmapQ :: (forall d. Data d => d -> u) -> Constr -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Constr -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Constr -> m Constr # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Constr -> m Constr # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Constr -> m Constr # | |
IsString Constr Source # | |
Defined in Language.Giml.Common fromString :: String -> Constr # | |
Generic Constr Source # | |
Show Constr Source # | |
Eq Constr Source # | |
Ord Constr Source # | |
Pretty Constr Source # | |
Defined in Language.Giml.Common | |
type Rep Constr Source # | |
Defined in Language.Giml.Common |
A record label
Instances
Data Label Source # | |
Defined in Language.Giml.Common gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Label -> c Label # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Label # dataTypeOf :: Label -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Label) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Label) # gmapT :: (forall b. Data b => b -> b) -> Label -> Label # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Label -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Label -> r # gmapQ :: (forall d. Data d => d -> u) -> Label -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Label -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Label -> m Label # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Label -> m Label # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Label -> m Label # | |
IsString Label Source # | |
Defined in Language.Giml.Common fromString :: String -> Label # | |
Generic Label Source # | |
Show Label Source # | |
Eq Label Source # | |
Ord Label Source # | |
Pretty Label Source # | |
Defined in Language.Giml.Common | |
type Rep Label Source # | |
Defined in Language.Giml.Common |
A general variant data type
Instances
Foldable Variant Source # | |
Defined in Language.Giml.Common fold :: Monoid m => Variant m -> m # foldMap :: Monoid m => (a -> m) -> Variant a -> m # foldMap' :: Monoid m => (a -> m) -> Variant a -> m # foldr :: (a -> b -> b) -> b -> Variant a -> b # foldr' :: (a -> b -> b) -> b -> Variant a -> b # foldl :: (b -> a -> b) -> b -> Variant a -> b # foldl' :: (b -> a -> b) -> b -> Variant a -> b # foldr1 :: (a -> a -> a) -> Variant a -> a # foldl1 :: (a -> a -> a) -> Variant a -> a # elem :: Eq a => a -> Variant a -> Bool # maximum :: Ord a => Variant a -> a # minimum :: Ord a => Variant a -> a # | |
Traversable Variant Source # | |
Functor Variant Source # | |
Data a => Data (Variant a) Source # | |
Defined in Language.Giml.Common gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Variant a -> c (Variant a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Variant a) # toConstr :: Variant a -> Constr # dataTypeOf :: Variant a -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Variant a)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Variant a)) # gmapT :: (forall b. Data b => b -> b) -> Variant a -> Variant a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Variant a -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Variant a -> r # gmapQ :: (forall d. Data d => d -> u) -> Variant a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Variant a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Variant a -> m (Variant a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Variant a -> m (Variant a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Variant a -> m (Variant a) # | |
Show a => Show (Variant a) Source # | |
Eq a => Eq (Variant a) Source # | |
Ord a => Ord (Variant a) Source # | |
Defined in Language.Giml.Common |