Copyright | (c) T.Mossakowski C.Maeder Uni Bremen 2004-2006 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | hausmann@informatik.uni-bremen.de |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
Abstract syntax for CoCASL, the coalgebraic extension of CASL Only the added syntax is specified
Documentation
data C_BASIC_ITEM Source #
CoFree_datatype [Annoted CODATATYPE_DECL] Range | |
CoSort_gen [Annoted (SIG_ITEMS C_SIG_ITEM C_FORMULA)] Range |
Instances
data C_SIG_ITEM Source #
Instances
data CODATATYPE_DECL Source #
Instances
Data CODATATYPE_DECL Source # | |
Defined in CoCASL.AS_CoCASL gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CODATATYPE_DECL -> c CODATATYPE_DECL gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CODATATYPE_DECL toConstr :: CODATATYPE_DECL -> Constr dataTypeOf :: CODATATYPE_DECL -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CODATATYPE_DECL) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CODATATYPE_DECL) gmapT :: (forall b. Data b => b -> b) -> CODATATYPE_DECL -> CODATATYPE_DECL gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CODATATYPE_DECL -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CODATATYPE_DECL -> r gmapQ :: (forall d. Data d => d -> u) -> CODATATYPE_DECL -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> CODATATYPE_DECL -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> CODATATYPE_DECL -> m CODATATYPE_DECL gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CODATATYPE_DECL -> m CODATATYPE_DECL gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CODATATYPE_DECL -> m CODATATYPE_DECL | |
Show CODATATYPE_DECL Source # | |
Defined in CoCASL.AS_CoCASL showsPrec :: Int -> CODATATYPE_DECL -> ShowS show :: CODATATYPE_DECL -> String showList :: [CODATATYPE_DECL] -> ShowS | |
Generic CODATATYPE_DECL | |
Defined in CoCASL.ATC_CoCASL type Rep CODATATYPE_DECL :: Type -> Type from :: CODATATYPE_DECL -> Rep CODATATYPE_DECL x to :: Rep CODATATYPE_DECL x -> CODATATYPE_DECL | |
GetRange CODATATYPE_DECL Source # | |
Defined in CoCASL.AS_CoCASL getRange :: CODATATYPE_DECL -> Range Source # rangeSpan :: CODATATYPE_DECL -> [Pos] Source # | |
FromJSON CODATATYPE_DECL | |
Defined in CoCASL.ATC_CoCASL parseJSON :: Value -> Parser CODATATYPE_DECL parseJSONList :: Value -> Parser [CODATATYPE_DECL] | |
ToJSON CODATATYPE_DECL | |
Defined in CoCASL.ATC_CoCASL toJSON :: CODATATYPE_DECL -> Value toEncoding :: CODATATYPE_DECL -> Encoding toJSONList :: [CODATATYPE_DECL] -> Value toEncodingList :: [CODATATYPE_DECL] -> Encoding | |
ShATermConvertible CODATATYPE_DECL | |
Defined in CoCASL.ATC_CoCASL toShATermAux :: ATermTable -> CODATATYPE_DECL -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [CODATATYPE_DECL] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, CODATATYPE_DECL) fromShATermList' :: Int -> ATermTable -> (ATermTable, [CODATATYPE_DECL]) | |
Pretty CODATATYPE_DECL Source # | |
Defined in CoCASL.Print_AS pretty :: CODATATYPE_DECL -> Doc Source # pretties :: [CODATATYPE_DECL] -> Doc Source # | |
type Rep CODATATYPE_DECL | |
Defined in CoCASL.ATC_CoCASL type Rep CODATATYPE_DECL = D1 ('MetaData "CODATATYPE_DECL" "CoCASL.AS_CoCASL" "main" 'False) (C1 ('MetaCons "CoDatatype_decl" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SORT) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Annoted COALTERNATIVE]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) |
data COALTERNATIVE Source #
Co_construct OpKind (Maybe OP_NAME) [COCOMPONENTS] Range | |
CoSubsorts [SORT] Range |
Instances
Data COALTERNATIVE Source # | |
Defined in CoCASL.AS_CoCASL gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> COALTERNATIVE -> c COALTERNATIVE gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c COALTERNATIVE toConstr :: COALTERNATIVE -> Constr dataTypeOf :: COALTERNATIVE -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c COALTERNATIVE) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c COALTERNATIVE) gmapT :: (forall b. Data b => b -> b) -> COALTERNATIVE -> COALTERNATIVE gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> COALTERNATIVE -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> COALTERNATIVE -> r gmapQ :: (forall d. Data d => d -> u) -> COALTERNATIVE -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> COALTERNATIVE -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> COALTERNATIVE -> m COALTERNATIVE gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> COALTERNATIVE -> m COALTERNATIVE gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> COALTERNATIVE -> m COALTERNATIVE | |
Show COALTERNATIVE Source # | |
Defined in CoCASL.AS_CoCASL showsPrec :: Int -> COALTERNATIVE -> ShowS show :: COALTERNATIVE -> String showList :: [COALTERNATIVE] -> ShowS | |
Generic COALTERNATIVE | |
Defined in CoCASL.ATC_CoCASL type Rep COALTERNATIVE :: Type -> Type from :: COALTERNATIVE -> Rep COALTERNATIVE x to :: Rep COALTERNATIVE x -> COALTERNATIVE | |
GetRange COALTERNATIVE Source # | |
Defined in CoCASL.AS_CoCASL getRange :: COALTERNATIVE -> Range Source # rangeSpan :: COALTERNATIVE -> [Pos] Source # | |
FromJSON COALTERNATIVE | |
Defined in CoCASL.ATC_CoCASL parseJSON :: Value -> Parser COALTERNATIVE parseJSONList :: Value -> Parser [COALTERNATIVE] | |
ToJSON COALTERNATIVE | |
Defined in CoCASL.ATC_CoCASL toJSON :: COALTERNATIVE -> Value toEncoding :: COALTERNATIVE -> Encoding toJSONList :: [COALTERNATIVE] -> Value toEncodingList :: [COALTERNATIVE] -> Encoding | |
ShATermConvertible COALTERNATIVE | |
Defined in CoCASL.ATC_CoCASL toShATermAux :: ATermTable -> COALTERNATIVE -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [COALTERNATIVE] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, COALTERNATIVE) fromShATermList' :: Int -> ATermTable -> (ATermTable, [COALTERNATIVE]) | |
Pretty COALTERNATIVE Source # | |
Defined in CoCASL.Print_AS pretty :: COALTERNATIVE -> Doc Source # pretties :: [COALTERNATIVE] -> Doc Source # | |
type Rep COALTERNATIVE | |
Defined in CoCASL.ATC_CoCASL type Rep COALTERNATIVE = D1 ('MetaData "COALTERNATIVE" "CoCASL.AS_CoCASL" "main" 'False) (C1 ('MetaCons "Co_construct" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OpKind) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe OP_NAME))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [COCOMPONENTS]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: C1 ('MetaCons "CoSubsorts" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SORT]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) |
data COCOMPONENTS Source #
Instances
Data COCOMPONENTS Source # | |
Defined in CoCASL.AS_CoCASL gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> COCOMPONENTS -> c COCOMPONENTS gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c COCOMPONENTS toConstr :: COCOMPONENTS -> Constr dataTypeOf :: COCOMPONENTS -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c COCOMPONENTS) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c COCOMPONENTS) gmapT :: (forall b. Data b => b -> b) -> COCOMPONENTS -> COCOMPONENTS gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> COCOMPONENTS -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> COCOMPONENTS -> r gmapQ :: (forall d. Data d => d -> u) -> COCOMPONENTS -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> COCOMPONENTS -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> COCOMPONENTS -> m COCOMPONENTS gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> COCOMPONENTS -> m COCOMPONENTS gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> COCOMPONENTS -> m COCOMPONENTS | |
Show COCOMPONENTS Source # | |
Defined in CoCASL.AS_CoCASL showsPrec :: Int -> COCOMPONENTS -> ShowS show :: COCOMPONENTS -> String showList :: [COCOMPONENTS] -> ShowS | |
Generic COCOMPONENTS | |
Defined in CoCASL.ATC_CoCASL type Rep COCOMPONENTS :: Type -> Type from :: COCOMPONENTS -> Rep COCOMPONENTS x to :: Rep COCOMPONENTS x -> COCOMPONENTS | |
GetRange COCOMPONENTS Source # | |
Defined in CoCASL.AS_CoCASL getRange :: COCOMPONENTS -> Range Source # rangeSpan :: COCOMPONENTS -> [Pos] Source # | |
FromJSON COCOMPONENTS | |
Defined in CoCASL.ATC_CoCASL parseJSON :: Value -> Parser COCOMPONENTS parseJSONList :: Value -> Parser [COCOMPONENTS] | |
ToJSON COCOMPONENTS | |
Defined in CoCASL.ATC_CoCASL toJSON :: COCOMPONENTS -> Value toEncoding :: COCOMPONENTS -> Encoding toJSONList :: [COCOMPONENTS] -> Value toEncodingList :: [COCOMPONENTS] -> Encoding | |
ShATermConvertible COCOMPONENTS | |
Defined in CoCASL.ATC_CoCASL toShATermAux :: ATermTable -> COCOMPONENTS -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [COCOMPONENTS] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, COCOMPONENTS) fromShATermList' :: Int -> ATermTable -> (ATermTable, [COCOMPONENTS]) | |
Pretty COCOMPONENTS Source # | |
Defined in CoCASL.Print_AS pretty :: COCOMPONENTS -> Doc Source # pretties :: [COCOMPONENTS] -> Doc Source # | |
type Rep COCOMPONENTS | |
Defined in CoCASL.ATC_CoCASL type Rep COCOMPONENTS = D1 ('MetaData "COCOMPONENTS" "CoCASL.AS_CoCASL" "main" 'False) (C1 ('MetaCons "CoSelect" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [OP_NAME]) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OP_TYPE) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) |
Instances
Eq MODALITY Source # | |
Data MODALITY Source # | |
Defined in CoCASL.AS_CoCASL gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MODALITY -> c MODALITY gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MODALITY toConstr :: MODALITY -> Constr dataTypeOf :: MODALITY -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MODALITY) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MODALITY) gmapT :: (forall b. Data b => b -> b) -> MODALITY -> MODALITY gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MODALITY -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MODALITY -> r gmapQ :: (forall d. Data d => d -> u) -> MODALITY -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> MODALITY -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> MODALITY -> m MODALITY gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MODALITY -> m MODALITY gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MODALITY -> m MODALITY | |
Ord MODALITY Source # | |
Show MODALITY Source # | |
Generic MODALITY | |
GetRange MODALITY Source # | |
FromJSON MODALITY | |
Defined in CoCASL.ATC_CoCASL parseJSON :: Value -> Parser MODALITY parseJSONList :: Value -> Parser [MODALITY] | |
ToJSON MODALITY | |
Defined in CoCASL.ATC_CoCASL toEncoding :: MODALITY -> Encoding toJSONList :: [MODALITY] -> Value toEncodingList :: [MODALITY] -> Encoding | |
ShATermConvertible MODALITY | |
Defined in CoCASL.ATC_CoCASL toShATermAux :: ATermTable -> MODALITY -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [MODALITY] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, MODALITY) fromShATermList' :: Int -> ATermTable -> (ATermTable, [MODALITY]) | |
Pretty MODALITY Source # | |
type Rep MODALITY | |
Defined in CoCASL.ATC_CoCASL type Rep MODALITY = D1 ('MetaData "MODALITY" "CoCASL.AS_CoCASL" "main" 'False) (C1 ('MetaCons "Simple_mod" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SIMPLE_ID)) :+: C1 ('MetaCons "Term_mod" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TERM C_FORMULA)))) |
BoxOrDiamond Bool MODALITY (FORMULA C_FORMULA) Range | |
CoSort_gen_ax [SORT] [OP_SYMB] Bool |