Copyright | (c) Christian Maeder and Uni Bremen 2003-2005 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | Christian.Maeder@dfki.de |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe |
abstract syntax for HasCASL, more liberal than Concrete-Syntax.txt, annotations are almost as for CASL
Synopsis
- data BasicSpec = BasicSpec [Annoted BasicItem]
- data BasicItem
- data SigItems
- data OpBrand
- isPred :: OpBrand -> Bool
- data Instance
- data ClassItem = ClassItem ClassDecl [Annoted BasicItem] Range
- data ClassDecl = ClassDecl [Id] Kind Range
- data Variance
- data AnyKind a
- type Kind = AnyKind Id
- type RawKind = AnyKind ()
- data TypeItem
- = TypeDecl [TypePattern] Kind Range
- | SubtypeDecl [TypePattern] Type Range
- | IsoDecl [TypePattern] Range
- | SubtypeDefn TypePattern Vars Type (Annoted Term) Range
- | AliasType TypePattern (Maybe Kind) TypeScheme Range
- | Datatype DatatypeDecl
- data Vars
- data TypePattern
- data Type
- = TypeName Id RawKind Int
- | TypeAppl Type Type
- | ExpandedType Type Type
- | TypeAbs TypeArg Type Range
- | KindedType Type (Set Kind) Range
- | TypeToken Token
- | BracketType BracketKind [Type] Range
- | MixfixType [Type]
- mapTypeOfScheme :: (Type -> Type) -> TypeScheme -> TypeScheme
- data TypeScheme = TypeScheme [TypeArg] Type Range
- data Partiality
- data OpItem
- data BinOpAttr
- data OpAttr
- data DatatypeDecl = DatatypeDecl TypePattern Kind [Annoted Alternative] [Id] Range
- data Alternative
- = Constructor Id [[Component]] Partiality Range
- | Subtype [Type] Range
- data Component
- data Quantifier
- data TypeQual
- data LetBrand
- data BracketKind
- = Parens
- | Squares
- | Braces
- | NoBrackets
- getBrackets :: BracketKind -> (String, String)
- data InstKind
- data Term
- = QualVar VarDecl
- | QualOp OpBrand PolyId TypeScheme [Type] InstKind Range
- | ApplTerm Term Term Range
- | TupleTerm [Term] Range
- | TypedTerm Term TypeQual Type Range
- | AsPattern VarDecl Term Range
- | QuantifiedTerm Quantifier [GenVarDecl] Term Range
- | LambdaTerm [Term] Partiality Term Range
- | CaseTerm Term [ProgEq] Range
- | LetTerm LetBrand [ProgEq] Term Range
- | ResolvedMixTerm Id [Type] [Term] Range
- | TermToken Token
- | MixTypeTerm TypeQual Type Range
- | MixfixTerm [Term]
- | BracketTerm BracketKind [Term] Range
- data ProgEq = ProgEq Term Term Range
- data PolyId = PolyId Id [TypeArg] Range
- data SeparatorKind
- data VarDecl = VarDecl Id Type SeparatorKind Range
- data VarKind
- data TypeArg = TypeArg Id Variance VarKind RawKind Int SeparatorKind Range
- data GenVarDecl
- data SymbItems = SymbItems SymbKind [Symb] [Annotation] Range
- data SymbMapItems = SymbMapItems SymbKind [SymbOrMap] [Annotation] Range
- data SymbKind
- data Symb = Symb Id (Maybe SymbType) Range
- data SymbType = SymbType TypeScheme
- data SymbOrMap = SymbOrMap Symb (Maybe Symb) Range
- bestRange :: GetRange a => [a] -> Range -> Range
abstract syntax entities with small utility functions
annotated basic items
Instances
the possible items
Instances
Data BasicItem Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BasicItem -> c BasicItem gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BasicItem toConstr :: BasicItem -> Constr dataTypeOf :: BasicItem -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BasicItem) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BasicItem) gmapT :: (forall b. Data b => b -> b) -> BasicItem -> BasicItem gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BasicItem -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BasicItem -> r gmapQ :: (forall d. Data d => d -> u) -> BasicItem -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> BasicItem -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> BasicItem -> m BasicItem gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BasicItem -> m BasicItem gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BasicItem -> m BasicItem | |
Show BasicItem Source # | |
Generic BasicItem | |
FromJSON BasicItem | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser BasicItem parseJSONList :: Value -> Parser [BasicItem] | |
ToJSON BasicItem | |
Defined in HasCASL.ATC_HasCASL toEncoding :: BasicItem -> Encoding toJSONList :: [BasicItem] -> Value toEncodingList :: [BasicItem] -> Encoding | |
ShATermConvertible BasicItem | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> BasicItem -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [BasicItem] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, BasicItem) fromShATermList' :: Int -> ATermTable -> (ATermTable, [BasicItem]) | |
Pretty BasicItem Source # | |
type Rep BasicItem | |
Defined in HasCASL.ATC_HasCASL type Rep BasicItem = D1 ('MetaData "BasicItem" "HasCASL.As" "main" 'False) (((C1 ('MetaCons "SigItems" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SigItems)) :+: C1 ('MetaCons "ProgItems" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Annoted ProgEq]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: (C1 ('MetaCons "ClassItems" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Instance) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Annoted ClassItem]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: C1 ('MetaCons "GenVarItems" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [GenVarDecl]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) :+: ((C1 ('MetaCons "FreeDatatype" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Annoted DatatypeDecl]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)) :+: C1 ('MetaCons "GenItems" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Annoted SigItems]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: (C1 ('MetaCons "AxiomItems" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [GenVarDecl]) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Annoted Term]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: C1 ('MetaCons "Internal" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Annoted BasicItem]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))))) |
signature items are types or functions
Instances
Data SigItems Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SigItems -> c SigItems gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SigItems toConstr :: SigItems -> Constr dataTypeOf :: SigItems -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SigItems) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SigItems) gmapT :: (forall b. Data b => b -> b) -> SigItems -> SigItems gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SigItems -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SigItems -> r gmapQ :: (forall d. Data d => d -> u) -> SigItems -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> SigItems -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> SigItems -> m SigItems gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SigItems -> m SigItems gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SigItems -> m SigItems | |
Show SigItems Source # | |
Generic SigItems | |
FromJSON SigItems | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser SigItems parseJSONList :: Value -> Parser [SigItems] | |
ToJSON SigItems | |
Defined in HasCASL.ATC_HasCASL toEncoding :: SigItems -> Encoding toJSONList :: [SigItems] -> Value toEncodingList :: [SigItems] -> Encoding | |
ShATermConvertible SigItems | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> SigItems -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [SigItems] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, SigItems) fromShATermList' :: Int -> ATermTable -> (ATermTable, [SigItems]) | |
Pretty SigItems Source # | |
type Rep SigItems | |
Defined in HasCASL.ATC_HasCASL type Rep SigItems = D1 ('MetaData "SigItems" "HasCASL.As" "main" 'False) (C1 ('MetaCons "TypeItems" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Instance) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Annoted TypeItem]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: C1 ('MetaCons "OpItems" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OpBrand) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Annoted OpItem]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) |
indicator for predicate, operation or function
Instances
Eq OpBrand Source # | |
Data OpBrand Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OpBrand -> c OpBrand gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OpBrand dataTypeOf :: OpBrand -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OpBrand) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OpBrand) gmapT :: (forall b. Data b => b -> b) -> OpBrand -> OpBrand gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OpBrand -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OpBrand -> r gmapQ :: (forall d. Data d => d -> u) -> OpBrand -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> OpBrand -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> OpBrand -> m OpBrand gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OpBrand -> m OpBrand gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OpBrand -> m OpBrand | |
Ord OpBrand Source # | |
Show OpBrand Source # | |
Generic OpBrand | |
FromJSON OpBrand | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser OpBrand parseJSONList :: Value -> Parser [OpBrand] | |
ToJSON OpBrand | |
Defined in HasCASL.ATC_HasCASL toEncoding :: OpBrand -> Encoding toJSONList :: [OpBrand] -> Value toEncodingList :: [OpBrand] -> Encoding | |
ShATermConvertible OpBrand | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> OpBrand -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OpBrand] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OpBrand) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OpBrand]) | |
Pretty OpBrand Source # | |
type Rep OpBrand | |
Defined in HasCASL.ATC_HasCASL type Rep OpBrand = D1 ('MetaData "OpBrand" "HasCASL.As" "main" 'False) (C1 ('MetaCons "Pred" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Op" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Fun" 'PrefixI 'False) (U1 :: Type -> Type))) |
indicator in ClassItems
and TypeItems
Instances
Eq Instance Source # | |
Data Instance Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Instance -> c Instance gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Instance toConstr :: Instance -> Constr dataTypeOf :: Instance -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Instance) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Instance) gmapT :: (forall b. Data b => b -> b) -> Instance -> Instance gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Instance -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Instance -> r gmapQ :: (forall d. Data d => d -> u) -> Instance -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Instance -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Instance -> m Instance gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Instance -> m Instance gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Instance -> m Instance | |
Ord Instance Source # | |
Show Instance Source # | |
Generic Instance | |
FromJSON Instance | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser Instance parseJSONList :: Value -> Parser [Instance] | |
ToJSON Instance | |
Defined in HasCASL.ATC_HasCASL toEncoding :: Instance -> Encoding toJSONList :: [Instance] -> Value toEncodingList :: [Instance] -> Encoding | |
ShATermConvertible Instance | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> Instance -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Instance] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Instance) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Instance]) | |
type Rep Instance | |
Defined in HasCASL.ATC_HasCASL type Rep Instance = D1 ('MetaData "Instance" "HasCASL.As" "main" 'False) (C1 ('MetaCons "Instance" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Plain" 'PrefixI 'False) (U1 :: Type -> Type)) |
a class item
Instances
Data ClassItem Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ClassItem -> c ClassItem gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ClassItem toConstr :: ClassItem -> Constr dataTypeOf :: ClassItem -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ClassItem) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ClassItem) gmapT :: (forall b. Data b => b -> b) -> ClassItem -> ClassItem gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ClassItem -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ClassItem -> r gmapQ :: (forall d. Data d => d -> u) -> ClassItem -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> ClassItem -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> ClassItem -> m ClassItem gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ClassItem -> m ClassItem gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ClassItem -> m ClassItem | |
Show ClassItem Source # | |
Generic ClassItem | |
FromJSON ClassItem | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser ClassItem parseJSONList :: Value -> Parser [ClassItem] | |
ToJSON ClassItem | |
Defined in HasCASL.ATC_HasCASL toEncoding :: ClassItem -> Encoding toJSONList :: [ClassItem] -> Value toEncodingList :: [ClassItem] -> Encoding | |
ShATermConvertible ClassItem | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> ClassItem -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [ClassItem] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, ClassItem) fromShATermList' :: Int -> ATermTable -> (ATermTable, [ClassItem]) | |
Pretty ClassItem Source # | |
type Rep ClassItem | |
Defined in HasCASL.ATC_HasCASL type Rep ClassItem = D1 ('MetaData "ClassItem" "HasCASL.As" "main" 'False) (C1 ('MetaCons "ClassItem" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ClassDecl) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Annoted BasicItem]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) |
declaring class identifiers
Instances
Data ClassDecl Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ClassDecl -> c ClassDecl gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ClassDecl toConstr :: ClassDecl -> Constr dataTypeOf :: ClassDecl -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ClassDecl) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ClassDecl) gmapT :: (forall b. Data b => b -> b) -> ClassDecl -> ClassDecl gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ClassDecl -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ClassDecl -> r gmapQ :: (forall d. Data d => d -> u) -> ClassDecl -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> ClassDecl -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> ClassDecl -> m ClassDecl gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ClassDecl -> m ClassDecl gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ClassDecl -> m ClassDecl | |
Show ClassDecl Source # | |
Generic ClassDecl | |
FromJSON ClassDecl | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser ClassDecl parseJSONList :: Value -> Parser [ClassDecl] | |
ToJSON ClassDecl | |
Defined in HasCASL.ATC_HasCASL toEncoding :: ClassDecl -> Encoding toJSONList :: [ClassDecl] -> Value toEncodingList :: [ClassDecl] -> Encoding | |
ShATermConvertible ClassDecl | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> ClassDecl -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [ClassDecl] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, ClassDecl) fromShATermList' :: Int -> ATermTable -> (ATermTable, [ClassDecl]) | |
Pretty ClassDecl Source # | |
type Rep ClassDecl | |
Defined in HasCASL.ATC_HasCASL type Rep ClassDecl = D1 ('MetaData "ClassDecl" "HasCASL.As" "main" 'False) (C1 ('MetaCons "ClassDecl" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Id]) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Kind) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) |
co- or contra- variance indicator
Instances
Eq Variance Source # | |
Data Variance Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Variance -> c Variance gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Variance toConstr :: Variance -> Constr dataTypeOf :: Variance -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Variance) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Variance) gmapT :: (forall b. Data b => b -> b) -> Variance -> Variance gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Variance -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Variance -> r gmapQ :: (forall d. Data d => d -> u) -> Variance -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Variance -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Variance -> m Variance gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Variance -> m Variance gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Variance -> m Variance | |
Ord Variance Source # | |
Show Variance Source # | |
Generic Variance | |
FromJSON Variance | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser Variance parseJSONList :: Value -> Parser [Variance] | |
ToJSON Variance | |
Defined in HasCASL.ATC_HasCASL toEncoding :: Variance -> Encoding toJSONList :: [Variance] -> Value toEncodingList :: [Variance] -> Encoding | |
ShATermConvertible Variance | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> Variance -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Variance] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Variance) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Variance]) | |
Pretty Variance Source # | |
type Rep Variance | |
Defined in HasCASL.ATC_HasCASL type Rep Variance = D1 ('MetaData "Variance" "HasCASL.As" "main" 'False) ((C1 ('MetaCons "InVar" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CoVar" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ContraVar" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NonVar" 'PrefixI 'False) (U1 :: Type -> Type))) |
(higher) kinds
Instances
Ord a => Eq (AnyKind a) Source # | |
Data a => Data (AnyKind a) Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AnyKind a -> c (AnyKind a) gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (AnyKind a) toConstr :: AnyKind a -> Constr dataTypeOf :: AnyKind a -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (AnyKind a)) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (AnyKind a)) gmapT :: (forall b. Data b => b -> b) -> AnyKind a -> AnyKind a gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AnyKind a -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AnyKind a -> r gmapQ :: (forall d. Data d => d -> u) -> AnyKind a -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> AnyKind a -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> AnyKind a -> m (AnyKind a) gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AnyKind a -> m (AnyKind a) gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AnyKind a -> m (AnyKind a) | |
Ord a => Ord (AnyKind a) Source # | |
Defined in HasCASL.As | |
Show a => Show (AnyKind a) Source # | |
Generic (AnyKind a) | |
FromJSON a => FromJSON (AnyKind a) | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser (AnyKind a) parseJSONList :: Value -> Parser [AnyKind a] | |
ToJSON a => ToJSON (AnyKind a) | |
Defined in HasCASL.ATC_HasCASL toEncoding :: AnyKind a -> Encoding toJSONList :: [AnyKind a] -> Value toEncodingList :: [AnyKind a] -> Encoding | |
ShATermConvertible a => ShATermConvertible (AnyKind a) | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> AnyKind a -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [AnyKind a] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, AnyKind a) fromShATermList' :: Int -> ATermTable -> (ATermTable, [AnyKind a]) | |
Pretty a => Pretty (AnyKind a) Source # | |
type Rep (AnyKind a) | |
Defined in HasCASL.ATC_HasCASL type Rep (AnyKind a) = D1 ('MetaData "AnyKind" "HasCASL.As" "main" 'False) (C1 ('MetaCons "ClassKind" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a)) :+: C1 ('MetaCons "FunKind" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Variance) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (AnyKind a))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (AnyKind a)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) |
the possible type items
Instances
Data TypeItem Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TypeItem -> c TypeItem gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TypeItem toConstr :: TypeItem -> Constr dataTypeOf :: TypeItem -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TypeItem) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TypeItem) gmapT :: (forall b. Data b => b -> b) -> TypeItem -> TypeItem gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TypeItem -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TypeItem -> r gmapQ :: (forall d. Data d => d -> u) -> TypeItem -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> TypeItem -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> TypeItem -> m TypeItem gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TypeItem -> m TypeItem gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TypeItem -> m TypeItem | |
Show TypeItem Source # | |
Generic TypeItem | |
FromJSON TypeItem | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser TypeItem parseJSONList :: Value -> Parser [TypeItem] | |
ToJSON TypeItem | |
Defined in HasCASL.ATC_HasCASL toEncoding :: TypeItem -> Encoding toJSONList :: [TypeItem] -> Value toEncodingList :: [TypeItem] -> Encoding | |
ShATermConvertible TypeItem | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> TypeItem -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [TypeItem] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, TypeItem) fromShATermList' :: Int -> ATermTable -> (ATermTable, [TypeItem]) | |
Pretty TypeItem Source # | |
type Rep TypeItem | |
Defined in HasCASL.ATC_HasCASL type Rep TypeItem = D1 ('MetaData "TypeItem" "HasCASL.As" "main" 'False) ((C1 ('MetaCons "TypeDecl" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TypePattern]) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Kind) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: (C1 ('MetaCons "SubtypeDecl" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TypePattern]) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: C1 ('MetaCons "IsoDecl" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TypePattern]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) :+: (C1 ('MetaCons "SubtypeDefn" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TypePattern) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Vars)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Annoted Term)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) :+: (C1 ('MetaCons "AliasType" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TypePattern) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Kind))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TypeScheme) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: C1 ('MetaCons "Datatype" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DatatypeDecl))))) |
a tuple pattern for SubtypeDefn
Instances
Eq Vars Source # | |
Data Vars Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Vars -> c Vars gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Vars dataTypeOf :: Vars -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Vars) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Vars) gmapT :: (forall b. Data b => b -> b) -> Vars -> Vars gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Vars -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Vars -> r gmapQ :: (forall d. Data d => d -> u) -> Vars -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Vars -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Vars -> m Vars gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Vars -> m Vars gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Vars -> m Vars | |
Ord Vars Source # | |
Show Vars Source # | |
Generic Vars | |
FromJSON Vars | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser Vars parseJSONList :: Value -> Parser [Vars] | |
ToJSON Vars | |
Defined in HasCASL.ATC_HasCASL | |
ShATermConvertible Vars | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> Vars -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Vars] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Vars) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Vars]) | |
Pretty Vars Source # | |
type Rep Vars | |
Defined in HasCASL.ATC_HasCASL type Rep Vars = D1 ('MetaData "Vars" "HasCASL.As" "main" 'False) (C1 ('MetaCons "Var" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Id)) :+: C1 ('MetaCons "VarTuple" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Vars]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) |
data TypePattern Source #
the lhs of most type items
TypePattern Id [TypeArg] Range | |
TypePatternToken Token | |
MixfixTypePattern [TypePattern] | |
BracketTypePattern BracketKind [TypePattern] Range | |
TypePatternArg TypeArg Range |
Instances
Data TypePattern Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TypePattern -> c TypePattern gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TypePattern toConstr :: TypePattern -> Constr dataTypeOf :: TypePattern -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TypePattern) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TypePattern) gmapT :: (forall b. Data b => b -> b) -> TypePattern -> TypePattern gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TypePattern -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TypePattern -> r gmapQ :: (forall d. Data d => d -> u) -> TypePattern -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> TypePattern -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> TypePattern -> m TypePattern gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TypePattern -> m TypePattern gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TypePattern -> m TypePattern | |
Show TypePattern Source # | |
Defined in HasCASL.As showsPrec :: Int -> TypePattern -> ShowS show :: TypePattern -> String showList :: [TypePattern] -> ShowS | |
Generic TypePattern | |
Defined in HasCASL.ATC_HasCASL type Rep TypePattern :: Type -> Type from :: TypePattern -> Rep TypePattern x to :: Rep TypePattern x -> TypePattern | |
GetRange TypePattern Source # | |
Defined in HasCASL.As getRange :: TypePattern -> Range Source # rangeSpan :: TypePattern -> [Pos] Source # | |
FromJSON TypePattern | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser TypePattern parseJSONList :: Value -> Parser [TypePattern] | |
ToJSON TypePattern | |
Defined in HasCASL.ATC_HasCASL toJSON :: TypePattern -> Value toEncoding :: TypePattern -> Encoding toJSONList :: [TypePattern] -> Value toEncodingList :: [TypePattern] -> Encoding | |
ShATermConvertible TypePattern | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> TypePattern -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [TypePattern] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, TypePattern) fromShATermList' :: Int -> ATermTable -> (ATermTable, [TypePattern]) | |
Pretty TypePattern Source # | |
Defined in HasCASL.PrintAs pretty :: TypePattern -> Doc Source # pretties :: [TypePattern] -> Doc Source # | |
type Rep TypePattern | |
Defined in HasCASL.ATC_HasCASL type Rep TypePattern = D1 ('MetaData "TypePattern" "HasCASL.As" "main" 'False) ((C1 ('MetaCons "TypePattern" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Id) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TypeArg]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: C1 ('MetaCons "TypePatternToken" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Token))) :+: (C1 ('MetaCons "MixfixTypePattern" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TypePattern])) :+: (C1 ('MetaCons "BracketTypePattern" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BracketKind) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TypePattern]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: C1 ('MetaCons "TypePatternArg" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TypeArg) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))))) |
types based on variable or constructor names and applications
TypeName Id RawKind Int | |
TypeAppl Type Type | |
ExpandedType Type Type | |
TypeAbs TypeArg Type Range | |
KindedType Type (Set Kind) Range | |
TypeToken Token | |
BracketType BracketKind [Type] Range | |
MixfixType [Type] |
Instances
Eq Type Source # | |
Data Type Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Type -> c Type gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Type dataTypeOf :: Type -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Type) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Type) gmapT :: (forall b. Data b => b -> b) -> Type -> Type gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Type -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Type -> r gmapQ :: (forall d. Data d => d -> u) -> Type -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Type -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Type -> m Type gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Type -> m Type gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Type -> m Type | |
Ord Type Source # | |
Show Type Source # | |
Generic Type | |
GetRange Type Source # | |
FromJSON Type | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser Type parseJSONList :: Value -> Parser [Type] | |
ToJSON Type | |
Defined in HasCASL.ATC_HasCASL | |
ShATermConvertible Type | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> Type -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Type] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Type) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Type]) | |
Pretty Type Source # | |
type Rep Type | |
Defined in HasCASL.ATC_HasCASL type Rep Type = D1 ('MetaData "Type" "HasCASL.As" "main" 'False) (((C1 ('MetaCons "TypeName" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Id) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RawKind) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :+: C1 ('MetaCons "TypeAppl" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))) :+: (C1 ('MetaCons "ExpandedType" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)) :+: C1 ('MetaCons "TypeAbs" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TypeArg) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))))) :+: ((C1 ('MetaCons "KindedType" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set Kind)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: C1 ('MetaCons "TypeToken" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Token))) :+: (C1 ('MetaCons "BracketType" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BracketKind) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Type]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: C1 ('MetaCons "MixfixType" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Type]))))) |
mapTypeOfScheme :: (Type -> Type) -> TypeScheme -> TypeScheme Source #
change the type within a scheme
data TypeScheme Source #
a type with bound type variables. The bound variables within the scheme should have negative numbers in the order given by the type argument list. The type arguments store proper kinds (including downsets) whereas the kind within the type names are only raw kinds.
Instances
Eq TypeScheme Source # | |
Defined in HasCASL.As (==) :: TypeScheme -> TypeScheme -> Bool (/=) :: TypeScheme -> TypeScheme -> Bool | |
Data TypeScheme Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TypeScheme -> c TypeScheme gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TypeScheme toConstr :: TypeScheme -> Constr dataTypeOf :: TypeScheme -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TypeScheme) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TypeScheme) gmapT :: (forall b. Data b => b -> b) -> TypeScheme -> TypeScheme gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TypeScheme -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TypeScheme -> r gmapQ :: (forall d. Data d => d -> u) -> TypeScheme -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> TypeScheme -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> TypeScheme -> m TypeScheme gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TypeScheme -> m TypeScheme gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TypeScheme -> m TypeScheme | |
Ord TypeScheme Source # | |
Defined in HasCASL.As compare :: TypeScheme -> TypeScheme -> Ordering (<) :: TypeScheme -> TypeScheme -> Bool (<=) :: TypeScheme -> TypeScheme -> Bool (>) :: TypeScheme -> TypeScheme -> Bool (>=) :: TypeScheme -> TypeScheme -> Bool max :: TypeScheme -> TypeScheme -> TypeScheme min :: TypeScheme -> TypeScheme -> TypeScheme | |
Show TypeScheme Source # | |
Defined in HasCASL.As showsPrec :: Int -> TypeScheme -> ShowS show :: TypeScheme -> String showList :: [TypeScheme] -> ShowS | |
Generic TypeScheme | |
Defined in HasCASL.ATC_HasCASL type Rep TypeScheme :: Type -> Type from :: TypeScheme -> Rep TypeScheme x to :: Rep TypeScheme x -> TypeScheme | |
GetRange TypeScheme Source # | |
Defined in HasCASL.As getRange :: TypeScheme -> Range Source # rangeSpan :: TypeScheme -> [Pos] Source # | |
FromJSON TypeScheme | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser TypeScheme parseJSONList :: Value -> Parser [TypeScheme] | |
ToJSON TypeScheme | |
Defined in HasCASL.ATC_HasCASL toJSON :: TypeScheme -> Value toEncoding :: TypeScheme -> Encoding toJSONList :: [TypeScheme] -> Value toEncodingList :: [TypeScheme] -> Encoding | |
ShATermConvertible TypeScheme | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> TypeScheme -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [TypeScheme] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, TypeScheme) fromShATermList' :: Int -> ATermTable -> (ATermTable, [TypeScheme]) | |
Pretty TypeScheme Source # | |
Defined in HasCASL.PrintAs pretty :: TypeScheme -> Doc Source # pretties :: [TypeScheme] -> Doc Source # | |
type Rep TypeScheme | |
Defined in HasCASL.ATC_HasCASL type Rep TypeScheme = D1 ('MetaData "TypeScheme" "HasCASL.As" "main" 'False) (C1 ('MetaCons "TypeScheme" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TypeArg]) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) |
data Partiality Source #
indicator for partial or total functions
Instances
Eq Partiality Source # | |
Defined in HasCASL.As (==) :: Partiality -> Partiality -> Bool (/=) :: Partiality -> Partiality -> Bool | |
Data Partiality Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Partiality -> c Partiality gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Partiality toConstr :: Partiality -> Constr dataTypeOf :: Partiality -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Partiality) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Partiality) gmapT :: (forall b. Data b => b -> b) -> Partiality -> Partiality gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Partiality -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Partiality -> r gmapQ :: (forall d. Data d => d -> u) -> Partiality -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Partiality -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Partiality -> m Partiality gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Partiality -> m Partiality gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Partiality -> m Partiality | |
Ord Partiality Source # | |
Defined in HasCASL.As compare :: Partiality -> Partiality -> Ordering (<) :: Partiality -> Partiality -> Bool (<=) :: Partiality -> Partiality -> Bool (>) :: Partiality -> Partiality -> Bool (>=) :: Partiality -> Partiality -> Bool max :: Partiality -> Partiality -> Partiality min :: Partiality -> Partiality -> Partiality | |
Show Partiality Source # | |
Defined in HasCASL.As showsPrec :: Int -> Partiality -> ShowS show :: Partiality -> String showList :: [Partiality] -> ShowS | |
Generic Partiality | |
Defined in HasCASL.ATC_HasCASL type Rep Partiality :: Type -> Type from :: Partiality -> Rep Partiality x to :: Rep Partiality x -> Partiality | |
FromJSON Partiality | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser Partiality parseJSONList :: Value -> Parser [Partiality] | |
ToJSON Partiality | |
Defined in HasCASL.ATC_HasCASL toJSON :: Partiality -> Value toEncoding :: Partiality -> Encoding toJSONList :: [Partiality] -> Value toEncodingList :: [Partiality] -> Encoding | |
ShATermConvertible Partiality | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> Partiality -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Partiality] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Partiality) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Partiality]) | |
Pretty Partiality Source # | |
Defined in HasCASL.PrintAs pretty :: Partiality -> Doc Source # pretties :: [Partiality] -> Doc Source # | |
type Rep Partiality | |
Defined in HasCASL.ATC_HasCASL type Rep Partiality = D1 ('MetaData "Partiality" "HasCASL.As" "main" 'False) (C1 ('MetaCons "Partial" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Total" 'PrefixI 'False) (U1 :: Type -> Type)) |
function declarations or definitions
Instances
Data OpItem Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OpItem -> c OpItem gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OpItem dataTypeOf :: OpItem -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OpItem) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OpItem) gmapT :: (forall b. Data b => b -> b) -> OpItem -> OpItem gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OpItem -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OpItem -> r gmapQ :: (forall d. Data d => d -> u) -> OpItem -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> OpItem -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> OpItem -> m OpItem gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OpItem -> m OpItem gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OpItem -> m OpItem | |
Show OpItem Source # | |
Generic OpItem | |
FromJSON OpItem | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser OpItem parseJSONList :: Value -> Parser [OpItem] | |
ToJSON OpItem | |
Defined in HasCASL.ATC_HasCASL toEncoding :: OpItem -> Encoding toJSONList :: [OpItem] -> Value toEncodingList :: [OpItem] -> Encoding | |
ShATermConvertible OpItem | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> OpItem -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OpItem] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OpItem) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OpItem]) | |
type Rep OpItem | |
Defined in HasCASL.ATC_HasCASL type Rep OpItem = D1 ('MetaData "OpItem" "HasCASL.As" "main" 'False) (C1 ('MetaCons "OpDecl" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [PolyId]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TypeScheme)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [OpAttr]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: C1 ('MetaCons "OpDefn" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PolyId) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [[VarDecl]])) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TypeScheme) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))))) |
attributes without arguments for binary functions
Instances
Eq BinOpAttr Source # | |
Data BinOpAttr Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BinOpAttr -> c BinOpAttr gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BinOpAttr toConstr :: BinOpAttr -> Constr dataTypeOf :: BinOpAttr -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BinOpAttr) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BinOpAttr) gmapT :: (forall b. Data b => b -> b) -> BinOpAttr -> BinOpAttr gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BinOpAttr -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BinOpAttr -> r gmapQ :: (forall d. Data d => d -> u) -> BinOpAttr -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> BinOpAttr -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> BinOpAttr -> m BinOpAttr gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BinOpAttr -> m BinOpAttr gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BinOpAttr -> m BinOpAttr | |
Ord BinOpAttr Source # | |
Defined in HasCASL.As | |
Show BinOpAttr Source # | |
Generic BinOpAttr | |
FromJSON BinOpAttr | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser BinOpAttr parseJSONList :: Value -> Parser [BinOpAttr] | |
ToJSON BinOpAttr | |
Defined in HasCASL.ATC_HasCASL toEncoding :: BinOpAttr -> Encoding toJSONList :: [BinOpAttr] -> Value toEncodingList :: [BinOpAttr] -> Encoding | |
ShATermConvertible BinOpAttr | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> BinOpAttr -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [BinOpAttr] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, BinOpAttr) fromShATermList' :: Int -> ATermTable -> (ATermTable, [BinOpAttr]) | |
Pretty BinOpAttr Source # | |
type Rep BinOpAttr | |
Defined in HasCASL.ATC_HasCASL type Rep BinOpAttr = D1 ('MetaData "BinOpAttr" "HasCASL.As" "main" 'False) (C1 ('MetaCons "Assoc" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Comm" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Idem" 'PrefixI 'False) (U1 :: Type -> Type))) |
possible function attributes (including a term as a unit element)
Instances
Eq OpAttr Source # | |
Data OpAttr Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OpAttr -> c OpAttr gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OpAttr dataTypeOf :: OpAttr -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OpAttr) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OpAttr) gmapT :: (forall b. Data b => b -> b) -> OpAttr -> OpAttr gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OpAttr -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OpAttr -> r gmapQ :: (forall d. Data d => d -> u) -> OpAttr -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> OpAttr -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> OpAttr -> m OpAttr gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OpAttr -> m OpAttr gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OpAttr -> m OpAttr | |
Ord OpAttr Source # | |
Show OpAttr Source # | |
Generic OpAttr | |
GetRange OpAttr Source # | |
FromJSON OpAttr | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser OpAttr parseJSONList :: Value -> Parser [OpAttr] | |
ToJSON OpAttr | |
Defined in HasCASL.ATC_HasCASL toEncoding :: OpAttr -> Encoding toJSONList :: [OpAttr] -> Value toEncodingList :: [OpAttr] -> Encoding | |
ShATermConvertible OpAttr | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> OpAttr -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OpAttr] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OpAttr) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OpAttr]) | |
Pretty OpAttr Source # | |
type Rep OpAttr | |
Defined in HasCASL.ATC_HasCASL type Rep OpAttr = D1 ('MetaData "OpAttr" "HasCASL.As" "main" 'False) (C1 ('MetaCons "BinOpAttr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BinOpAttr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)) :+: C1 ('MetaCons "UnitOpAttr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) |
data DatatypeDecl Source #
a polymorphic data type declaration with a deriving clause
Instances
Data DatatypeDecl Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DatatypeDecl -> c DatatypeDecl gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DatatypeDecl toConstr :: DatatypeDecl -> Constr dataTypeOf :: DatatypeDecl -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DatatypeDecl) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DatatypeDecl) gmapT :: (forall b. Data b => b -> b) -> DatatypeDecl -> DatatypeDecl gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DatatypeDecl -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DatatypeDecl -> r gmapQ :: (forall d. Data d => d -> u) -> DatatypeDecl -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> DatatypeDecl -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> DatatypeDecl -> m DatatypeDecl gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DatatypeDecl -> m DatatypeDecl gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DatatypeDecl -> m DatatypeDecl | |
Show DatatypeDecl Source # | |
Defined in HasCASL.As showsPrec :: Int -> DatatypeDecl -> ShowS show :: DatatypeDecl -> String showList :: [DatatypeDecl] -> ShowS | |
Generic DatatypeDecl | |
Defined in HasCASL.ATC_HasCASL type Rep DatatypeDecl :: Type -> Type from :: DatatypeDecl -> Rep DatatypeDecl x to :: Rep DatatypeDecl x -> DatatypeDecl | |
FromJSON DatatypeDecl | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser DatatypeDecl parseJSONList :: Value -> Parser [DatatypeDecl] | |
ToJSON DatatypeDecl | |
Defined in HasCASL.ATC_HasCASL toJSON :: DatatypeDecl -> Value toEncoding :: DatatypeDecl -> Encoding toJSONList :: [DatatypeDecl] -> Value toEncodingList :: [DatatypeDecl] -> Encoding | |
ShATermConvertible DatatypeDecl | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> DatatypeDecl -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [DatatypeDecl] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, DatatypeDecl) fromShATermList' :: Int -> ATermTable -> (ATermTable, [DatatypeDecl]) | |
Pretty DatatypeDecl Source # | |
Defined in HasCASL.PrintAs pretty :: DatatypeDecl -> Doc Source # pretties :: [DatatypeDecl] -> Doc Source # | |
type Rep DatatypeDecl | |
Defined in HasCASL.ATC_HasCASL type Rep DatatypeDecl = D1 ('MetaData "DatatypeDecl" "HasCASL.As" "main" 'False) (C1 ('MetaCons "DatatypeDecl" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TypePattern) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Kind)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Annoted Alternative]) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Id]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))))) |
data Alternative Source #
Alternatives are subtypes or a constructor with a list of (curried) tuples as arguments. Only the components of the first tuple can be addressed by the places of the mixfix constructor.
Instances
Data Alternative Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Alternative -> c Alternative gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Alternative toConstr :: Alternative -> Constr dataTypeOf :: Alternative -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Alternative) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Alternative) gmapT :: (forall b. Data b => b -> b) -> Alternative -> Alternative gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Alternative -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Alternative -> r gmapQ :: (forall d. Data d => d -> u) -> Alternative -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Alternative -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Alternative -> m Alternative gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Alternative -> m Alternative gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Alternative -> m Alternative | |
Show Alternative Source # | |
Defined in HasCASL.As showsPrec :: Int -> Alternative -> ShowS show :: Alternative -> String showList :: [Alternative] -> ShowS | |
Generic Alternative | |
Defined in HasCASL.ATC_HasCASL type Rep Alternative :: Type -> Type from :: Alternative -> Rep Alternative x to :: Rep Alternative x -> Alternative | |
FromJSON Alternative | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser Alternative parseJSONList :: Value -> Parser [Alternative] | |
ToJSON Alternative | |
Defined in HasCASL.ATC_HasCASL toJSON :: Alternative -> Value toEncoding :: Alternative -> Encoding toJSONList :: [Alternative] -> Value toEncodingList :: [Alternative] -> Encoding | |
ShATermConvertible Alternative | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> Alternative -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Alternative] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Alternative) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Alternative]) | |
Pretty Alternative Source # | |
Defined in HasCASL.PrintAs pretty :: Alternative -> Doc Source # pretties :: [Alternative] -> Doc Source # | |
type Rep Alternative | |
Defined in HasCASL.ATC_HasCASL type Rep Alternative = D1 ('MetaData "Alternative" "HasCASL.As" "main" 'False) (C1 ('MetaCons "Constructor" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Id) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [[Component]])) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Partiality) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: C1 ('MetaCons "Subtype" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Type]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) |
A component is a type with on optional (only pre- or postfix) selector function.
Instances
Eq Component Source # | |
Data Component Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Component -> c Component gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Component toConstr :: Component -> Constr dataTypeOf :: Component -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Component) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Component) gmapT :: (forall b. Data b => b -> b) -> Component -> Component gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Component -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Component -> r gmapQ :: (forall d. Data d => d -> u) -> Component -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Component -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Component -> m Component gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Component -> m Component gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Component -> m Component | |
Ord Component Source # | |
Defined in HasCASL.As | |
Show Component Source # | |
Generic Component | |
FromJSON Component | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser Component parseJSONList :: Value -> Parser [Component] | |
ToJSON Component | |
Defined in HasCASL.ATC_HasCASL toEncoding :: Component -> Encoding toJSONList :: [Component] -> Value toEncodingList :: [Component] -> Encoding | |
ShATermConvertible Component | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> Component -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Component] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Component) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Component]) | |
Pretty Component Source # | |
type Rep Component | |
Defined in HasCASL.ATC_HasCASL type Rep Component = D1 ('MetaData "Component" "HasCASL.As" "main" 'False) (C1 ('MetaCons "Selector" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Id) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Partiality)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SeparatorKind) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) :+: C1 ('MetaCons "NoSelector" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))) |
data Quantifier Source #
the possible quantifiers
Instances
Eq Quantifier Source # | |
Defined in HasCASL.As (==) :: Quantifier -> Quantifier -> Bool (/=) :: Quantifier -> Quantifier -> Bool | |
Data Quantifier Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Quantifier -> c Quantifier gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Quantifier toConstr :: Quantifier -> Constr dataTypeOf :: Quantifier -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Quantifier) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Quantifier) gmapT :: (forall b. Data b => b -> b) -> Quantifier -> Quantifier gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Quantifier -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Quantifier -> r gmapQ :: (forall d. Data d => d -> u) -> Quantifier -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Quantifier -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Quantifier -> m Quantifier gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Quantifier -> m Quantifier gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Quantifier -> m Quantifier | |
Ord Quantifier Source # | |
Defined in HasCASL.As compare :: Quantifier -> Quantifier -> Ordering (<) :: Quantifier -> Quantifier -> Bool (<=) :: Quantifier -> Quantifier -> Bool (>) :: Quantifier -> Quantifier -> Bool (>=) :: Quantifier -> Quantifier -> Bool max :: Quantifier -> Quantifier -> Quantifier min :: Quantifier -> Quantifier -> Quantifier | |
Show Quantifier Source # | |
Defined in HasCASL.As showsPrec :: Int -> Quantifier -> ShowS show :: Quantifier -> String showList :: [Quantifier] -> ShowS | |
Generic Quantifier | |
Defined in HasCASL.ATC_HasCASL type Rep Quantifier :: Type -> Type from :: Quantifier -> Rep Quantifier x to :: Rep Quantifier x -> Quantifier | |
FromJSON Quantifier | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser Quantifier parseJSONList :: Value -> Parser [Quantifier] | |
ToJSON Quantifier | |
Defined in HasCASL.ATC_HasCASL toJSON :: Quantifier -> Value toEncoding :: Quantifier -> Encoding toJSONList :: [Quantifier] -> Value toEncodingList :: [Quantifier] -> Encoding | |
ShATermConvertible Quantifier | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> Quantifier -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Quantifier] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Quantifier) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Quantifier]) | |
Pretty Quantifier Source # | |
Defined in HasCASL.PrintAs pretty :: Quantifier -> Doc Source # pretties :: [Quantifier] -> Doc Source # | |
type Rep Quantifier | |
Defined in HasCASL.ATC_HasCASL type Rep Quantifier = D1 ('MetaData "Quantifier" "HasCASL.As" "main" 'False) (C1 ('MetaCons "Universal" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Existential" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Unique" 'PrefixI 'False) (U1 :: Type -> Type))) |
the possibly type annotations of terms
Instances
Eq TypeQual Source # | |
Data TypeQual Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TypeQual -> c TypeQual gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TypeQual toConstr :: TypeQual -> Constr dataTypeOf :: TypeQual -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TypeQual) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TypeQual) gmapT :: (forall b. Data b => b -> b) -> TypeQual -> TypeQual gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TypeQual -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TypeQual -> r gmapQ :: (forall d. Data d => d -> u) -> TypeQual -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> TypeQual -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> TypeQual -> m TypeQual gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TypeQual -> m TypeQual gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TypeQual -> m TypeQual | |
Ord TypeQual Source # | |
Show TypeQual Source # | |
Generic TypeQual | |
FromJSON TypeQual | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser TypeQual parseJSONList :: Value -> Parser [TypeQual] | |
ToJSON TypeQual | |
Defined in HasCASL.ATC_HasCASL toEncoding :: TypeQual -> Encoding toJSONList :: [TypeQual] -> Value toEncodingList :: [TypeQual] -> Encoding | |
ShATermConvertible TypeQual | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> TypeQual -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [TypeQual] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, TypeQual) fromShATermList' :: Int -> ATermTable -> (ATermTable, [TypeQual]) | |
Pretty TypeQual Source # | |
type Rep TypeQual | |
Defined in HasCASL.ATC_HasCASL type Rep TypeQual = D1 ('MetaData "TypeQual" "HasCASL.As" "main" 'False) ((C1 ('MetaCons "OfType" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AsType" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "InType" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Inferred" 'PrefixI 'False) (U1 :: Type -> Type))) |
an indicator of (otherwise equivalent) let or where equations
Instances
Eq LetBrand Source # | |
Data LetBrand Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LetBrand -> c LetBrand gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LetBrand toConstr :: LetBrand -> Constr dataTypeOf :: LetBrand -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c LetBrand) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LetBrand) gmapT :: (forall b. Data b => b -> b) -> LetBrand -> LetBrand gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LetBrand -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LetBrand -> r gmapQ :: (forall d. Data d => d -> u) -> LetBrand -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> LetBrand -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> LetBrand -> m LetBrand gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LetBrand -> m LetBrand gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LetBrand -> m LetBrand | |
Ord LetBrand Source # | |
Show LetBrand Source # | |
Generic LetBrand | |
FromJSON LetBrand | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser LetBrand parseJSONList :: Value -> Parser [LetBrand] | |
ToJSON LetBrand | |
Defined in HasCASL.ATC_HasCASL toEncoding :: LetBrand -> Encoding toJSONList :: [LetBrand] -> Value toEncodingList :: [LetBrand] -> Encoding | |
ShATermConvertible LetBrand | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> LetBrand -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [LetBrand] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, LetBrand) fromShATermList' :: Int -> ATermTable -> (ATermTable, [LetBrand]) | |
type Rep LetBrand | |
Defined in HasCASL.ATC_HasCASL type Rep LetBrand = D1 ('MetaData "LetBrand" "HasCASL.As" "main" 'False) (C1 ('MetaCons "Let" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Where" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Program" 'PrefixI 'False) (U1 :: Type -> Type))) |
data BracketKind Source #
the possible kinds of brackets (that should match when parsed)
Instances
Eq BracketKind Source # | |
Defined in HasCASL.As (==) :: BracketKind -> BracketKind -> Bool (/=) :: BracketKind -> BracketKind -> Bool | |
Data BracketKind Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BracketKind -> c BracketKind gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BracketKind toConstr :: BracketKind -> Constr dataTypeOf :: BracketKind -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BracketKind) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BracketKind) gmapT :: (forall b. Data b => b -> b) -> BracketKind -> BracketKind gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BracketKind -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BracketKind -> r gmapQ :: (forall d. Data d => d -> u) -> BracketKind -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> BracketKind -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> BracketKind -> m BracketKind gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BracketKind -> m BracketKind gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BracketKind -> m BracketKind | |
Ord BracketKind Source # | |
Defined in HasCASL.As compare :: BracketKind -> BracketKind -> Ordering (<) :: BracketKind -> BracketKind -> Bool (<=) :: BracketKind -> BracketKind -> Bool (>) :: BracketKind -> BracketKind -> Bool (>=) :: BracketKind -> BracketKind -> Bool max :: BracketKind -> BracketKind -> BracketKind min :: BracketKind -> BracketKind -> BracketKind | |
Show BracketKind Source # | |
Defined in HasCASL.As showsPrec :: Int -> BracketKind -> ShowS show :: BracketKind -> String showList :: [BracketKind] -> ShowS | |
Generic BracketKind | |
Defined in HasCASL.ATC_HasCASL type Rep BracketKind :: Type -> Type from :: BracketKind -> Rep BracketKind x to :: Rep BracketKind x -> BracketKind | |
FromJSON BracketKind | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser BracketKind parseJSONList :: Value -> Parser [BracketKind] | |
ToJSON BracketKind | |
Defined in HasCASL.ATC_HasCASL toJSON :: BracketKind -> Value toEncoding :: BracketKind -> Encoding toJSONList :: [BracketKind] -> Value toEncodingList :: [BracketKind] -> Encoding | |
ShATermConvertible BracketKind | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> BracketKind -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [BracketKind] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, BracketKind) fromShATermList' :: Int -> ATermTable -> (ATermTable, [BracketKind]) | |
type Rep BracketKind | |
Defined in HasCASL.ATC_HasCASL type Rep BracketKind = D1 ('MetaData "BracketKind" "HasCASL.As" "main" 'False) ((C1 ('MetaCons "Parens" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Squares" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Braces" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NoBrackets" 'PrefixI 'False) (U1 :: Type -> Type))) |
getBrackets :: BracketKind -> (String, String) Source #
the brackets as strings for printing
Instances
Eq InstKind Source # | |
Data InstKind Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InstKind -> c InstKind gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InstKind toConstr :: InstKind -> Constr dataTypeOf :: InstKind -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c InstKind) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InstKind) gmapT :: (forall b. Data b => b -> b) -> InstKind -> InstKind gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InstKind -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InstKind -> r gmapQ :: (forall d. Data d => d -> u) -> InstKind -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> InstKind -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> InstKind -> m InstKind gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InstKind -> m InstKind gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InstKind -> m InstKind | |
Ord InstKind Source # | |
Show InstKind Source # | |
Generic InstKind | |
FromJSON InstKind | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser InstKind parseJSONList :: Value -> Parser [InstKind] | |
ToJSON InstKind | |
Defined in HasCASL.ATC_HasCASL toEncoding :: InstKind -> Encoding toJSONList :: [InstKind] -> Value toEncodingList :: [InstKind] -> Encoding | |
ShATermConvertible InstKind | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> InstKind -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [InstKind] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, InstKind) fromShATermList' :: Int -> ATermTable -> (ATermTable, [InstKind]) | |
type Rep InstKind | |
Defined in HasCASL.ATC_HasCASL type Rep InstKind = D1 ('MetaData "InstKind" "HasCASL.As" "main" 'False) (C1 ('MetaCons "UserGiven" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Infer" 'PrefixI 'False) (U1 :: Type -> Type)) |
The possible terms and patterns. Formulas are also kept as
terms. Local variables and constants are kept separatetly. The variant
ResolvedMixTerm
is an intermediate representation for type checking
only.
Instances
Eq Term Source # | |
Data Term Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Term -> c Term gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Term dataTypeOf :: Term -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Term) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Term) gmapT :: (forall b. Data b => b -> b) -> Term -> Term gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Term -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Term -> r gmapQ :: (forall d. Data d => d -> u) -> Term -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Term -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Term -> m Term gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Term -> m Term gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Term -> m Term | |
Ord Term Source # | |
Show Term Source # | |
Generic Term | |
GetRange Term Source # | |
FromJSON Term | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser Term parseJSONList :: Value -> Parser [Term] | |
ToJSON Term | |
Defined in HasCASL.ATC_HasCASL | |
ShATermConvertible Term | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> Term -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Term] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Term) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Term]) | |
Pretty Term Source # | |
type Rep Term | |
Defined in HasCASL.ATC_HasCASL type Rep Term = D1 ('MetaData "Term" "HasCASL.As" "main" 'False) (((C1 ('MetaCons "QualVar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 VarDecl)) :+: (C1 ('MetaCons "QualOp" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OpBrand) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PolyId) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TypeScheme))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Type]) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InstKind) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) :+: C1 ('MetaCons "ApplTerm" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))))) :+: ((C1 ('MetaCons "TupleTerm" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Term]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)) :+: C1 ('MetaCons "TypedTerm" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TypeQual)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) :+: (C1 ('MetaCons "AsPattern" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 VarDecl) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: C1 ('MetaCons "QuantifiedTerm" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Quantifier) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [GenVarDecl])) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))))) :+: (((C1 ('MetaCons "LambdaTerm" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Term]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Partiality)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: C1 ('MetaCons "CaseTerm" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ProgEq]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) :+: (C1 ('MetaCons "LetTerm" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LetBrand) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ProgEq])) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: C1 ('MetaCons "ResolvedMixTerm" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Id) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Type])) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Term]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))))) :+: ((C1 ('MetaCons "TermToken" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Token)) :+: C1 ('MetaCons "MixTypeTerm" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TypeQual) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) :+: (C1 ('MetaCons "MixfixTerm" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Term])) :+: C1 ('MetaCons "BracketTerm" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BracketKind) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Term]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))))))) |
an equation or a case as pair of a pattern and a term
Instances
Eq ProgEq Source # | |
Data ProgEq Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProgEq -> c ProgEq gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProgEq dataTypeOf :: ProgEq -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProgEq) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProgEq) gmapT :: (forall b. Data b => b -> b) -> ProgEq -> ProgEq gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProgEq -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProgEq -> r gmapQ :: (forall d. Data d => d -> u) -> ProgEq -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> ProgEq -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProgEq -> m ProgEq gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProgEq -> m ProgEq gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProgEq -> m ProgEq | |
Ord ProgEq Source # | |
Show ProgEq Source # | |
Generic ProgEq | |
FromJSON ProgEq | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser ProgEq parseJSONList :: Value -> Parser [ProgEq] | |
ToJSON ProgEq | |
Defined in HasCASL.ATC_HasCASL toEncoding :: ProgEq -> Encoding toJSONList :: [ProgEq] -> Value toEncodingList :: [ProgEq] -> Encoding | |
ShATermConvertible ProgEq | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> ProgEq -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [ProgEq] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, ProgEq) fromShATermList' :: Int -> ATermTable -> (ATermTable, [ProgEq]) | |
Pretty ProgEq Source # | |
type Rep ProgEq | |
Defined in HasCASL.ATC_HasCASL type Rep ProgEq = D1 ('MetaData "ProgEq" "HasCASL.As" "main" 'False) (C1 ('MetaCons "ProgEq" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) |
an identifier with an optional list of type declarations
Instances
Eq PolyId Source # | |
Data PolyId Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PolyId -> c PolyId gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PolyId dataTypeOf :: PolyId -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PolyId) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PolyId) gmapT :: (forall b. Data b => b -> b) -> PolyId -> PolyId gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PolyId -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PolyId -> r gmapQ :: (forall d. Data d => d -> u) -> PolyId -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> PolyId -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> PolyId -> m PolyId gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PolyId -> m PolyId gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PolyId -> m PolyId | |
Ord PolyId Source # | |
Show PolyId Source # | |
Generic PolyId | |
FromJSON PolyId | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser PolyId parseJSONList :: Value -> Parser [PolyId] | |
ToJSON PolyId | |
Defined in HasCASL.ATC_HasCASL toEncoding :: PolyId -> Encoding toJSONList :: [PolyId] -> Value toEncodingList :: [PolyId] -> Encoding | |
ShATermConvertible PolyId | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> PolyId -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [PolyId] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, PolyId) fromShATermList' :: Int -> ATermTable -> (ATermTable, [PolyId]) | |
Pretty PolyId Source # | |
type Rep PolyId | |
Defined in HasCASL.ATC_HasCASL type Rep PolyId = D1 ('MetaData "PolyId" "HasCASL.As" "main" 'False) (C1 ('MetaCons "PolyId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Id) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TypeArg]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) |
data SeparatorKind Source #
an indicator if variables were separated by commas or by separate declarations
Instances
Eq SeparatorKind Source # | |
Defined in HasCASL.As (==) :: SeparatorKind -> SeparatorKind -> Bool (/=) :: SeparatorKind -> SeparatorKind -> Bool | |
Data SeparatorKind Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SeparatorKind -> c SeparatorKind gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SeparatorKind toConstr :: SeparatorKind -> Constr dataTypeOf :: SeparatorKind -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SeparatorKind) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SeparatorKind) gmapT :: (forall b. Data b => b -> b) -> SeparatorKind -> SeparatorKind gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SeparatorKind -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SeparatorKind -> r gmapQ :: (forall d. Data d => d -> u) -> SeparatorKind -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> SeparatorKind -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> SeparatorKind -> m SeparatorKind gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SeparatorKind -> m SeparatorKind gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SeparatorKind -> m SeparatorKind | |
Ord SeparatorKind Source # | |
Defined in HasCASL.As compare :: SeparatorKind -> SeparatorKind -> Ordering (<) :: SeparatorKind -> SeparatorKind -> Bool (<=) :: SeparatorKind -> SeparatorKind -> Bool (>) :: SeparatorKind -> SeparatorKind -> Bool (>=) :: SeparatorKind -> SeparatorKind -> Bool max :: SeparatorKind -> SeparatorKind -> SeparatorKind min :: SeparatorKind -> SeparatorKind -> SeparatorKind | |
Show SeparatorKind Source # | |
Defined in HasCASL.As showsPrec :: Int -> SeparatorKind -> ShowS show :: SeparatorKind -> String showList :: [SeparatorKind] -> ShowS | |
Generic SeparatorKind | |
Defined in HasCASL.ATC_HasCASL type Rep SeparatorKind :: Type -> Type from :: SeparatorKind -> Rep SeparatorKind x to :: Rep SeparatorKind x -> SeparatorKind | |
FromJSON SeparatorKind | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser SeparatorKind parseJSONList :: Value -> Parser [SeparatorKind] | |
ToJSON SeparatorKind | |
Defined in HasCASL.ATC_HasCASL toJSON :: SeparatorKind -> Value toEncoding :: SeparatorKind -> Encoding toJSONList :: [SeparatorKind] -> Value toEncodingList :: [SeparatorKind] -> Encoding | |
ShATermConvertible SeparatorKind | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> SeparatorKind -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [SeparatorKind] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, SeparatorKind) fromShATermList' :: Int -> ATermTable -> (ATermTable, [SeparatorKind]) | |
type Rep SeparatorKind | |
Defined in HasCASL.ATC_HasCASL type Rep SeparatorKind = D1 ('MetaData "SeparatorKind" "HasCASL.As" "main" 'False) (C1 ('MetaCons "Comma" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Other" 'PrefixI 'False) (U1 :: Type -> Type)) |
a variable with its type
Instances
Eq VarDecl Source # | |
Data VarDecl Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VarDecl -> c VarDecl gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VarDecl dataTypeOf :: VarDecl -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c VarDecl) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VarDecl) gmapT :: (forall b. Data b => b -> b) -> VarDecl -> VarDecl gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VarDecl -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VarDecl -> r gmapQ :: (forall d. Data d => d -> u) -> VarDecl -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> VarDecl -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> VarDecl -> m VarDecl gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VarDecl -> m VarDecl gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VarDecl -> m VarDecl | |
Ord VarDecl Source # | |
Show VarDecl Source # | |
Generic VarDecl | |
GetRange VarDecl Source # | |
FromJSON VarDecl | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser VarDecl parseJSONList :: Value -> Parser [VarDecl] | |
ToJSON VarDecl | |
Defined in HasCASL.ATC_HasCASL toEncoding :: VarDecl -> Encoding toJSONList :: [VarDecl] -> Value toEncodingList :: [VarDecl] -> Encoding | |
ShATermConvertible VarDecl | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> VarDecl -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [VarDecl] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, VarDecl) fromShATermList' :: Int -> ATermTable -> (ATermTable, [VarDecl]) | |
Pretty VarDecl Source # | |
type Rep VarDecl | |
Defined in HasCASL.ATC_HasCASL type Rep VarDecl = D1 ('MetaData "VarDecl" "HasCASL.As" "main" 'False) (C1 ('MetaCons "VarDecl" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Id) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SeparatorKind) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) |
the kind of a type variable (or a type argument in schemes)
Instances
Eq VarKind Source # | |
Data VarKind Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VarKind -> c VarKind gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VarKind dataTypeOf :: VarKind -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c VarKind) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VarKind) gmapT :: (forall b. Data b => b -> b) -> VarKind -> VarKind gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VarKind -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VarKind -> r gmapQ :: (forall d. Data d => d -> u) -> VarKind -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> VarKind -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> VarKind -> m VarKind gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VarKind -> m VarKind gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VarKind -> m VarKind | |
Ord VarKind Source # | |
Show VarKind Source # | |
Generic VarKind | |
FromJSON VarKind | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser VarKind parseJSONList :: Value -> Parser [VarKind] | |
ToJSON VarKind | |
Defined in HasCASL.ATC_HasCASL toEncoding :: VarKind -> Encoding toJSONList :: [VarKind] -> Value toEncodingList :: [VarKind] -> Encoding | |
ShATermConvertible VarKind | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> VarKind -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [VarKind] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, VarKind) fromShATermList' :: Int -> ATermTable -> (ATermTable, [VarKind]) | |
type Rep VarKind | |
Defined in HasCASL.ATC_HasCASL type Rep VarKind = D1 ('MetaData "VarKind" "HasCASL.As" "main" 'False) (C1 ('MetaCons "VarKind" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Kind)) :+: (C1 ('MetaCons "Downset" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)) :+: C1 ('MetaCons "MissingKind" 'PrefixI 'False) (U1 :: Type -> Type))) |
a (simple) type variable with its kind (or supertype)
Instances
Eq TypeArg Source # | |
Data TypeArg Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TypeArg -> c TypeArg gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TypeArg dataTypeOf :: TypeArg -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TypeArg) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TypeArg) gmapT :: (forall b. Data b => b -> b) -> TypeArg -> TypeArg gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TypeArg -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TypeArg -> r gmapQ :: (forall d. Data d => d -> u) -> TypeArg -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> TypeArg -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> TypeArg -> m TypeArg gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TypeArg -> m TypeArg gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TypeArg -> m TypeArg | |
Ord TypeArg Source # | |
Show TypeArg Source # | |
Generic TypeArg | |
GetRange TypeArg Source # | |
FromJSON TypeArg | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser TypeArg parseJSONList :: Value -> Parser [TypeArg] | |
ToJSON TypeArg | |
Defined in HasCASL.ATC_HasCASL toEncoding :: TypeArg -> Encoding toJSONList :: [TypeArg] -> Value toEncodingList :: [TypeArg] -> Encoding | |
ShATermConvertible TypeArg | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> TypeArg -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [TypeArg] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, TypeArg) fromShATermList' :: Int -> ATermTable -> (ATermTable, [TypeArg]) | |
Pretty TypeArg Source # | |
type Rep TypeArg | |
Defined in HasCASL.ATC_HasCASL type Rep TypeArg = D1 ('MetaData "TypeArg" "HasCASL.As" "main" 'False) (C1 ('MetaCons "TypeArg" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Id) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Variance) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 VarKind))) :*: ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RawKind) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SeparatorKind) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))))) |
data GenVarDecl Source #
a value or type variable
Instances
Eq GenVarDecl Source # | |
Defined in HasCASL.As (==) :: GenVarDecl -> GenVarDecl -> Bool (/=) :: GenVarDecl -> GenVarDecl -> Bool | |
Data GenVarDecl Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GenVarDecl -> c GenVarDecl gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GenVarDecl toConstr :: GenVarDecl -> Constr dataTypeOf :: GenVarDecl -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GenVarDecl) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GenVarDecl) gmapT :: (forall b. Data b => b -> b) -> GenVarDecl -> GenVarDecl gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GenVarDecl -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GenVarDecl -> r gmapQ :: (forall d. Data d => d -> u) -> GenVarDecl -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> GenVarDecl -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> GenVarDecl -> m GenVarDecl gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GenVarDecl -> m GenVarDecl gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GenVarDecl -> m GenVarDecl | |
Ord GenVarDecl Source # | |
Defined in HasCASL.As compare :: GenVarDecl -> GenVarDecl -> Ordering (<) :: GenVarDecl -> GenVarDecl -> Bool (<=) :: GenVarDecl -> GenVarDecl -> Bool (>) :: GenVarDecl -> GenVarDecl -> Bool (>=) :: GenVarDecl -> GenVarDecl -> Bool max :: GenVarDecl -> GenVarDecl -> GenVarDecl min :: GenVarDecl -> GenVarDecl -> GenVarDecl | |
Show GenVarDecl Source # | |
Defined in HasCASL.As showsPrec :: Int -> GenVarDecl -> ShowS show :: GenVarDecl -> String showList :: [GenVarDecl] -> ShowS | |
Generic GenVarDecl | |
Defined in HasCASL.ATC_HasCASL type Rep GenVarDecl :: Type -> Type from :: GenVarDecl -> Rep GenVarDecl x to :: Rep GenVarDecl x -> GenVarDecl | |
FromJSON GenVarDecl | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser GenVarDecl parseJSONList :: Value -> Parser [GenVarDecl] | |
ToJSON GenVarDecl | |
Defined in HasCASL.ATC_HasCASL toJSON :: GenVarDecl -> Value toEncoding :: GenVarDecl -> Encoding toJSONList :: [GenVarDecl] -> Value toEncodingList :: [GenVarDecl] -> Encoding | |
ShATermConvertible GenVarDecl | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> GenVarDecl -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [GenVarDecl] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, GenVarDecl) fromShATermList' :: Int -> ATermTable -> (ATermTable, [GenVarDecl]) | |
Pretty GenVarDecl Source # | |
Defined in HasCASL.PrintAs pretty :: GenVarDecl -> Doc Source # pretties :: [GenVarDecl] -> Doc Source # | |
type Rep GenVarDecl | |
Defined in HasCASL.ATC_HasCASL type Rep GenVarDecl = D1 ('MetaData "GenVarDecl" "HasCASL.As" "main" 'False) (C1 ('MetaCons "GenVarDecl" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 VarDecl)) :+: C1 ('MetaCons "GenTypeVarDecl" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TypeArg))) |
symbol data types symbols
Instances
data SymbMapItems Source #
mapped symbols
Instances
kind of symbols
Instances
Eq SymbKind Source # | |
Data SymbKind Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SymbKind -> c SymbKind gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SymbKind toConstr :: SymbKind -> Constr dataTypeOf :: SymbKind -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SymbKind) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SymbKind) gmapT :: (forall b. Data b => b -> b) -> SymbKind -> SymbKind gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SymbKind -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SymbKind -> r gmapQ :: (forall d. Data d => d -> u) -> SymbKind -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> SymbKind -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> SymbKind -> m SymbKind gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SymbKind -> m SymbKind gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SymbKind -> m SymbKind | |
Ord SymbKind Source # | |
Show SymbKind Source # | |
Generic SymbKind | |
FromJSON SymbKind | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser SymbKind parseJSONList :: Value -> Parser [SymbKind] | |
ToJSON SymbKind | |
Defined in HasCASL.ATC_HasCASL toEncoding :: SymbKind -> Encoding toJSONList :: [SymbKind] -> Value toEncodingList :: [SymbKind] -> Encoding | |
ShATermConvertible SymbKind | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> SymbKind -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [SymbKind] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, SymbKind) fromShATermList' :: Int -> ATermTable -> (ATermTable, [SymbKind]) | |
Pretty SymbKind Source # | |
type Rep SymbKind | |
Defined in HasCASL.ATC_HasCASL type Rep SymbKind = D1 ('MetaData "SymbKind" "HasCASL.As" "main" 'False) ((C1 ('MetaCons "Implicit" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SyKtype" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SyKsort" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "SyKfun" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SyKop" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SyKpred" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SyKclass" 'PrefixI 'False) (U1 :: Type -> Type)))) |
type annotated symbols
Instances
Eq Symb Source # | |
Data Symb Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Symb -> c Symb gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Symb dataTypeOf :: Symb -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Symb) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Symb) gmapT :: (forall b. Data b => b -> b) -> Symb -> Symb gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Symb -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Symb -> r gmapQ :: (forall d. Data d => d -> u) -> Symb -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Symb -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Symb -> m Symb gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Symb -> m Symb gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Symb -> m Symb | |
Ord Symb Source # | |
Show Symb Source # | |
Generic Symb | |
FromJSON Symb | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser Symb parseJSONList :: Value -> Parser [Symb] | |
ToJSON Symb | |
Defined in HasCASL.ATC_HasCASL | |
ShATermConvertible Symb | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> Symb -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Symb] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Symb) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Symb]) | |
Pretty Symb Source # | |
type Rep Symb | |
Defined in HasCASL.ATC_HasCASL type Rep Symb = D1 ('MetaData "Symb" "HasCASL.As" "main" 'False) (C1 ('MetaCons "Symb" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Id) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe SymbType)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) |
type for symbols
Instances
Eq SymbType Source # | |
Data SymbType Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SymbType -> c SymbType gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SymbType toConstr :: SymbType -> Constr dataTypeOf :: SymbType -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SymbType) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SymbType) gmapT :: (forall b. Data b => b -> b) -> SymbType -> SymbType gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SymbType -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SymbType -> r gmapQ :: (forall d. Data d => d -> u) -> SymbType -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> SymbType -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> SymbType -> m SymbType gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SymbType -> m SymbType gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SymbType -> m SymbType | |
Ord SymbType Source # | |
Show SymbType Source # | |
Generic SymbType | |
FromJSON SymbType | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser SymbType parseJSONList :: Value -> Parser [SymbType] | |
ToJSON SymbType | |
Defined in HasCASL.ATC_HasCASL toEncoding :: SymbType -> Encoding toJSONList :: [SymbType] -> Value toEncodingList :: [SymbType] -> Encoding | |
ShATermConvertible SymbType | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> SymbType -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [SymbType] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, SymbType) fromShATermList' :: Int -> ATermTable -> (ATermTable, [SymbType]) | |
type Rep SymbType | |
Defined in HasCASL.ATC_HasCASL type Rep SymbType = D1 ('MetaData "SymbType" "HasCASL.As" "main" 'False) (C1 ('MetaCons "SymbType" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TypeScheme))) |
mapped symbol
Instances
Eq SymbOrMap Source # | |
Data SymbOrMap Source # | |
Defined in HasCASL.As gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SymbOrMap -> c SymbOrMap gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SymbOrMap toConstr :: SymbOrMap -> Constr dataTypeOf :: SymbOrMap -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SymbOrMap) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SymbOrMap) gmapT :: (forall b. Data b => b -> b) -> SymbOrMap -> SymbOrMap gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SymbOrMap -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SymbOrMap -> r gmapQ :: (forall d. Data d => d -> u) -> SymbOrMap -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> SymbOrMap -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> SymbOrMap -> m SymbOrMap gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SymbOrMap -> m SymbOrMap gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SymbOrMap -> m SymbOrMap | |
Ord SymbOrMap Source # | |
Defined in HasCASL.As | |
Show SymbOrMap Source # | |
Generic SymbOrMap | |
FromJSON SymbOrMap | |
Defined in HasCASL.ATC_HasCASL parseJSON :: Value -> Parser SymbOrMap parseJSONList :: Value -> Parser [SymbOrMap] | |
ToJSON SymbOrMap | |
Defined in HasCASL.ATC_HasCASL toEncoding :: SymbOrMap -> Encoding toJSONList :: [SymbOrMap] -> Value toEncodingList :: [SymbOrMap] -> Encoding | |
ShATermConvertible SymbOrMap | |
Defined in HasCASL.ATC_HasCASL toShATermAux :: ATermTable -> SymbOrMap -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [SymbOrMap] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, SymbOrMap) fromShATermList' :: Int -> ATermTable -> (ATermTable, [SymbOrMap]) | |
Pretty SymbOrMap Source # | |
type Rep SymbOrMap | |
Defined in HasCASL.ATC_HasCASL type Rep SymbOrMap = D1 ('MetaData "SymbOrMap" "HasCASL.As" "main" 'False) (C1 ('MetaCons "SymbOrMap" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Symb) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Symb)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) |