Copyright | (c) Florian Mossakowski Uni Bremen 2006 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | till@informatik.uni-bremen.de |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
Abstract syntax for ConstraintCASL Only the formula syntax is specified
Documentation
type ConstraintCASLBasicSpec = BASIC_SPEC () () ConstraintFORMULA Source #
data ConstraintFORMULA Source #
Implication_ConstraintFormula ATOMCONJUNCTION ATOMCONJUNCTION | |
Equivalence_ConstraintFormula ATOMCONJUNCTION ATOMCONJUNCTION | |
Axiom_ConstraintFormula ATOMCONJUNCTION |
Instances
Empty_Relation | |
Equal_Relation | |
Id_Relation Id | |
Relation_Disjunction [RELATION] | |
Inverse_Relation RELATION |
Instances
Eq RELATION Source # | |
Data RELATION Source # | |
Defined in ConstraintCASL.AS_ConstraintCASL gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RELATION -> c RELATION gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RELATION toConstr :: RELATION -> Constr dataTypeOf :: RELATION -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RELATION) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RELATION) gmapT :: (forall b. Data b => b -> b) -> RELATION -> RELATION gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RELATION -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RELATION -> r gmapQ :: (forall d. Data d => d -> u) -> RELATION -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> RELATION -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> RELATION -> m RELATION gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RELATION -> m RELATION gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RELATION -> m RELATION | |
Ord RELATION Source # | |
Defined in ConstraintCASL.AS_ConstraintCASL | |
Show RELATION Source # | |
Generic RELATION | |
FromJSON RELATION | |
Defined in ConstraintCASL.ATC_ConstraintCASL parseJSON :: Value -> Parser RELATION parseJSONList :: Value -> Parser [RELATION] | |
ToJSON RELATION | |
Defined in ConstraintCASL.ATC_ConstraintCASL toEncoding :: RELATION -> Encoding toJSONList :: [RELATION] -> Value toEncodingList :: [RELATION] -> Encoding | |
ShATermConvertible RELATION | |
Defined in ConstraintCASL.ATC_ConstraintCASL toShATermAux :: ATermTable -> RELATION -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [RELATION] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, RELATION) fromShATermList' :: Int -> ATermTable -> (ATermTable, [RELATION]) | |
type Rep RELATION | |
Defined in ConstraintCASL.ATC_ConstraintCASL type Rep RELATION = D1 ('MetaData "RELATION" "ConstraintCASL.AS_ConstraintCASL" "main" 'False) ((C1 ('MetaCons "Empty_Relation" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Equal_Relation" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Id_Relation" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Id)) :+: (C1 ('MetaCons "Relation_Disjunction" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [RELATION])) :+: C1 ('MetaCons "Inverse_Relation" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RELATION))))) |
data ATOMCONJUNCTION Source #
Instances
Eq ATOMCONJUNCTION Source # | |
Defined in ConstraintCASL.AS_ConstraintCASL (==) :: ATOMCONJUNCTION -> ATOMCONJUNCTION -> Bool (/=) :: ATOMCONJUNCTION -> ATOMCONJUNCTION -> Bool | |
Data ATOMCONJUNCTION Source # | |
Defined in ConstraintCASL.AS_ConstraintCASL gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ATOMCONJUNCTION -> c ATOMCONJUNCTION gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ATOMCONJUNCTION toConstr :: ATOMCONJUNCTION -> Constr dataTypeOf :: ATOMCONJUNCTION -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ATOMCONJUNCTION) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ATOMCONJUNCTION) gmapT :: (forall b. Data b => b -> b) -> ATOMCONJUNCTION -> ATOMCONJUNCTION gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ATOMCONJUNCTION -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ATOMCONJUNCTION -> r gmapQ :: (forall d. Data d => d -> u) -> ATOMCONJUNCTION -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> ATOMCONJUNCTION -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> ATOMCONJUNCTION -> m ATOMCONJUNCTION gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ATOMCONJUNCTION -> m ATOMCONJUNCTION gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ATOMCONJUNCTION -> m ATOMCONJUNCTION | |
Ord ATOMCONJUNCTION Source # | |
Defined in ConstraintCASL.AS_ConstraintCASL compare :: ATOMCONJUNCTION -> ATOMCONJUNCTION -> Ordering (<) :: ATOMCONJUNCTION -> ATOMCONJUNCTION -> Bool (<=) :: ATOMCONJUNCTION -> ATOMCONJUNCTION -> Bool (>) :: ATOMCONJUNCTION -> ATOMCONJUNCTION -> Bool (>=) :: ATOMCONJUNCTION -> ATOMCONJUNCTION -> Bool max :: ATOMCONJUNCTION -> ATOMCONJUNCTION -> ATOMCONJUNCTION min :: ATOMCONJUNCTION -> ATOMCONJUNCTION -> ATOMCONJUNCTION | |
Show ATOMCONJUNCTION Source # | |
Defined in ConstraintCASL.AS_ConstraintCASL showsPrec :: Int -> ATOMCONJUNCTION -> ShowS show :: ATOMCONJUNCTION -> String showList :: [ATOMCONJUNCTION] -> ShowS | |
Generic ATOMCONJUNCTION | |
Defined in ConstraintCASL.ATC_ConstraintCASL type Rep ATOMCONJUNCTION :: Type -> Type from :: ATOMCONJUNCTION -> Rep ATOMCONJUNCTION x to :: Rep ATOMCONJUNCTION x -> ATOMCONJUNCTION | |
FromJSON ATOMCONJUNCTION | |
Defined in ConstraintCASL.ATC_ConstraintCASL parseJSON :: Value -> Parser ATOMCONJUNCTION parseJSONList :: Value -> Parser [ATOMCONJUNCTION] | |
ToJSON ATOMCONJUNCTION | |
Defined in ConstraintCASL.ATC_ConstraintCASL toJSON :: ATOMCONJUNCTION -> Value toEncoding :: ATOMCONJUNCTION -> Encoding toJSONList :: [ATOMCONJUNCTION] -> Value toEncodingList :: [ATOMCONJUNCTION] -> Encoding | |
ShATermConvertible ATOMCONJUNCTION | |
Defined in ConstraintCASL.ATC_ConstraintCASL toShATermAux :: ATermTable -> ATOMCONJUNCTION -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [ATOMCONJUNCTION] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, ATOMCONJUNCTION) fromShATermList' :: Int -> ATermTable -> (ATermTable, [ATOMCONJUNCTION]) | |
type Rep ATOMCONJUNCTION | |
Defined in ConstraintCASL.ATC_ConstraintCASL type Rep ATOMCONJUNCTION = D1 ('MetaData "ATOMCONJUNCTION" "ConstraintCASL.AS_ConstraintCASL" "main" 'False) (C1 ('MetaCons "Atom_Conjunction" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ATOM]))) |
Instances
Eq ATOM Source # | |
Data ATOM Source # | |
Defined in ConstraintCASL.AS_ConstraintCASL gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ATOM -> c ATOM gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ATOM dataTypeOf :: ATOM -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ATOM) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ATOM) gmapT :: (forall b. Data b => b -> b) -> ATOM -> ATOM gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ATOM -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ATOM -> r gmapQ :: (forall d. Data d => d -> u) -> ATOM -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> ATOM -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> ATOM -> m ATOM gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ATOM -> m ATOM gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ATOM -> m ATOM | |
Ord ATOM Source # | |
Show ATOM Source # | |
Generic ATOM | |
FromJSON ATOM | |
Defined in ConstraintCASL.ATC_ConstraintCASL parseJSON :: Value -> Parser ATOM parseJSONList :: Value -> Parser [ATOM] | |
ToJSON ATOM | |
Defined in ConstraintCASL.ATC_ConstraintCASL | |
ShATermConvertible ATOM | |
Defined in ConstraintCASL.ATC_ConstraintCASL toShATermAux :: ATermTable -> ATOM -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [ATOM] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, ATOM) fromShATermList' :: Int -> ATermTable -> (ATermTable, [ATOM]) | |
type Rep ATOM | |
Defined in ConstraintCASL.ATC_ConstraintCASL type Rep ATOM = D1 ('MetaData "ATOM" "ConstraintCASL.AS_ConstraintCASL" "main" 'False) (C1 ('MetaCons "Prefix_Atom" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RELATION) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ConstraintTERM])) :+: C1 ('MetaCons "Infix_Atom" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ConstraintTERM) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RELATION) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ConstraintTERM)))) |
data ConstraintTERM Source #
Instances
Eq ConstraintTERM Source # | |
Defined in ConstraintCASL.AS_ConstraintCASL (==) :: ConstraintTERM -> ConstraintTERM -> Bool (/=) :: ConstraintTERM -> ConstraintTERM -> Bool | |
Data ConstraintTERM Source # | |
Defined in ConstraintCASL.AS_ConstraintCASL gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ConstraintTERM -> c ConstraintTERM gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ConstraintTERM toConstr :: ConstraintTERM -> Constr dataTypeOf :: ConstraintTERM -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ConstraintTERM) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ConstraintTERM) gmapT :: (forall b. Data b => b -> b) -> ConstraintTERM -> ConstraintTERM gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ConstraintTERM -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ConstraintTERM -> r gmapQ :: (forall d. Data d => d -> u) -> ConstraintTERM -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> ConstraintTERM -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> ConstraintTERM -> m ConstraintTERM gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ConstraintTERM -> m ConstraintTERM gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ConstraintTERM -> m ConstraintTERM | |
Ord ConstraintTERM Source # | |
Defined in ConstraintCASL.AS_ConstraintCASL compare :: ConstraintTERM -> ConstraintTERM -> Ordering (<) :: ConstraintTERM -> ConstraintTERM -> Bool (<=) :: ConstraintTERM -> ConstraintTERM -> Bool (>) :: ConstraintTERM -> ConstraintTERM -> Bool (>=) :: ConstraintTERM -> ConstraintTERM -> Bool max :: ConstraintTERM -> ConstraintTERM -> ConstraintTERM min :: ConstraintTERM -> ConstraintTERM -> ConstraintTERM | |
Show ConstraintTERM Source # | |
Defined in ConstraintCASL.AS_ConstraintCASL showsPrec :: Int -> ConstraintTERM -> ShowS show :: ConstraintTERM -> String showList :: [ConstraintTERM] -> ShowS | |
Generic ConstraintTERM | |
Defined in ConstraintCASL.ATC_ConstraintCASL type Rep ConstraintTERM :: Type -> Type from :: ConstraintTERM -> Rep ConstraintTERM x to :: Rep ConstraintTERM x -> ConstraintTERM | |
FromJSON ConstraintTERM | |
Defined in ConstraintCASL.ATC_ConstraintCASL parseJSON :: Value -> Parser ConstraintTERM parseJSONList :: Value -> Parser [ConstraintTERM] | |
ToJSON ConstraintTERM | |
Defined in ConstraintCASL.ATC_ConstraintCASL toJSON :: ConstraintTERM -> Value toEncoding :: ConstraintTERM -> Encoding toJSONList :: [ConstraintTERM] -> Value toEncodingList :: [ConstraintTERM] -> Encoding | |
ShATermConvertible ConstraintTERM | |
Defined in ConstraintCASL.ATC_ConstraintCASL toShATermAux :: ATermTable -> ConstraintTERM -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [ConstraintTERM] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, ConstraintTERM) fromShATermList' :: Int -> ATermTable -> (ATermTable, [ConstraintTERM]) | |
type Rep ConstraintTERM | |
Defined in ConstraintCASL.ATC_ConstraintCASL type Rep ConstraintTERM = D1 ('MetaData "ConstraintTERM" "ConstraintCASL.AS_ConstraintCASL" "main" 'False) (C1 ('MetaCons "Atomar_Term" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Id)) :+: C1 ('MetaCons "Composite_Term" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Id) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ConstraintTERM]))) |