Copyright | (c) A. Tsogias DFKI Bremen 2011 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | Alexis.Tsogias@dfki.de |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
Data structures and functions used in Logic_THF and HasCASL2THF. Note: Some of the implenentations depend on the THF0 Syntax.
Documentation
data BasicSpecTHF Source #
Instances
Instances
data SymbolType Source #
Instances
Eq SymbolType Source # | |
Defined in THF.Cons (==) :: SymbolType -> SymbolType -> Bool (/=) :: SymbolType -> SymbolType -> Bool | |
Data SymbolType Source # | |
Defined in THF.Cons gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SymbolType -> c SymbolType gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SymbolType toConstr :: SymbolType -> Constr dataTypeOf :: SymbolType -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SymbolType) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SymbolType) gmapT :: (forall b. Data b => b -> b) -> SymbolType -> SymbolType gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SymbolType -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SymbolType -> r gmapQ :: (forall d. Data d => d -> u) -> SymbolType -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> SymbolType -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> SymbolType -> m SymbolType gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SymbolType -> m SymbolType gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SymbolType -> m SymbolType | |
Ord SymbolType Source # | |
Defined in THF.Cons compare :: SymbolType -> SymbolType -> Ordering (<) :: SymbolType -> SymbolType -> Bool (<=) :: SymbolType -> SymbolType -> Bool (>) :: SymbolType -> SymbolType -> Bool (>=) :: SymbolType -> SymbolType -> Bool max :: SymbolType -> SymbolType -> SymbolType min :: SymbolType -> SymbolType -> SymbolType | |
Show SymbolType Source # | |
Defined in THF.Cons showsPrec :: Int -> SymbolType -> ShowS show :: SymbolType -> String showList :: [SymbolType] -> ShowS | |
Generic SymbolType | |
Defined in THF.ATC_THF type Rep SymbolType :: Type -> Type from :: SymbolType -> Rep SymbolType x to :: Rep SymbolType x -> SymbolType | |
FromJSON SymbolType | |
Defined in THF.ATC_THF parseJSON :: Value -> Parser SymbolType parseJSONList :: Value -> Parser [SymbolType] | |
ToJSON SymbolType | |
Defined in THF.ATC_THF toJSON :: SymbolType -> Value toEncoding :: SymbolType -> Encoding toJSONList :: [SymbolType] -> Value toEncodingList :: [SymbolType] -> Encoding | |
ShATermConvertible SymbolType | |
Defined in THF.ATC_THF toShATermAux :: ATermTable -> SymbolType -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [SymbolType] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, SymbolType) fromShATermList' :: Int -> ATermTable -> (ATermTable, [SymbolType]) | |
type Rep SymbolType | |
Defined in THF.ATC_THF type Rep SymbolType = D1 ('MetaData "SymbolType" "THF.Cons" "main" 'False) (C1 ('MetaCons "ST_Const" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)) :+: C1 ('MetaCons "ST_Type" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Kind))) |
TType | |
OType | |
IType | |
MapType Type Type | |
ProdType [Type] | |
CType Constant | |
SType Token | |
VType Token | |
ParType Type |
Instances
Eq Type Source # | |
Data Type Source # | |
Defined in THF.Cons 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 THF.ATC_THF parseJSON :: Value -> Parser Type parseJSONList :: Value -> Parser [Type] | |
ToJSON Type | |
Defined in THF.ATC_THF | |
ShATermConvertible Type | |
Defined in THF.ATC_THF 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 # | |
MinSublogic THFSl Type Source # | |
Defined in THF.Logic_THF minSublogic :: Type -> THFSl Source # | |
type Rep Type | |
Defined in THF.ATC_THF type Rep Type = D1 ('MetaData "Type" "THF.Cons" "main" 'False) (((C1 ('MetaCons "TType" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OType" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "IType" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MapType" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)))) :+: ((C1 ('MetaCons "ProdType" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Type])) :+: C1 ('MetaCons "CType" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Constant))) :+: (C1 ('MetaCons "SType" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Token)) :+: (C1 ('MetaCons "VType" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Token)) :+: C1 ('MetaCons "ParType" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)))))) |
Instances
Eq Kind Source # | |
Data Kind Source # | |
Defined in THF.Cons gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Kind -> c Kind gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Kind dataTypeOf :: Kind -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Kind) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Kind) gmapT :: (forall b. Data b => b -> b) -> Kind -> Kind gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Kind -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Kind -> r gmapQ :: (forall d. Data d => d -> u) -> Kind -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Kind -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Kind -> m Kind gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Kind -> m Kind gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Kind -> m Kind | |
Ord Kind Source # | |
Show Kind Source # | |
Generic Kind | |
FromJSON Kind | |
Defined in THF.ATC_THF parseJSON :: Value -> Parser Kind parseJSONList :: Value -> Parser [Kind] | |
ToJSON Kind | |
Defined in THF.ATC_THF | |
ShATermConvertible Kind | |
Defined in THF.ATC_THF toShATermAux :: ATermTable -> Kind -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Kind] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Kind) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Kind]) | |
Pretty Kind Source # | |
MinSublogic THFSl Kind Source # | |
Defined in THF.Logic_THF minSublogic :: Kind -> THFSl Source # | |
type Rep Kind | |
Defined in THF.ATC_THF type Rep Kind = D1 ('MetaData "Kind" "THF.Cons" "main" 'False) (C1 ('MetaCons "Kind" 'PrefixI 'False) (U1 :: Type -> Type)) |