License | GPLv2 or higher, see LICENSE.txt |
---|---|
Maintainer | nevrenato@gmail.com |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Abstract syntax for an hybridized logic. Declaration of the basic specification. Underlying Spec; Declaration of nominals and modalities, and axioms.
Documentation
Bspec | |
|
Instances
Data s => Data (TH_BSPEC s) Source # | |
Defined in TopHybrid.AS_TopHybrid gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TH_BSPEC s -> c (TH_BSPEC s) gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (TH_BSPEC s) toConstr :: TH_BSPEC s -> Constr dataTypeOf :: TH_BSPEC s -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (TH_BSPEC s)) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (TH_BSPEC s)) gmapT :: (forall b. Data b => b -> b) -> TH_BSPEC s -> TH_BSPEC s gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TH_BSPEC s -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TH_BSPEC s -> r gmapQ :: (forall d. Data d => d -> u) -> TH_BSPEC s -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> TH_BSPEC s -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> TH_BSPEC s -> m (TH_BSPEC s) gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TH_BSPEC s -> m (TH_BSPEC s) gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TH_BSPEC s -> m (TH_BSPEC s) | |
Show s => Show (TH_BSPEC s) Source # | |
Generic (TH_BSPEC s) | |
GetRange s => GetRange (TH_BSPEC s) Source # | |
FromJSON s => FromJSON (TH_BSPEC s) | |
Defined in TopHybrid.ATC_TopHybrid parseJSON :: Value -> Parser (TH_BSPEC s) parseJSONList :: Value -> Parser [TH_BSPEC s] | |
ToJSON s => ToJSON (TH_BSPEC s) | |
Defined in TopHybrid.ATC_TopHybrid toEncoding :: TH_BSPEC s -> Encoding toJSONList :: [TH_BSPEC s] -> Value toEncodingList :: [TH_BSPEC s] -> Encoding | |
ShATermConvertible s => ShATermConvertible (TH_BSPEC s) | |
Defined in TopHybrid.ATC_TopHybrid toShATermAux :: ATermTable -> TH_BSPEC s -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [TH_BSPEC s] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, TH_BSPEC s) fromShATermList' :: Int -> ATermTable -> (ATermTable, [TH_BSPEC s]) | |
Pretty b => Pretty (TH_BSPEC b) Source # | |
type Rep (TH_BSPEC s) | |
Defined in TopHybrid.ATC_TopHybrid type Rep (TH_BSPEC s) = D1 ('MetaData "TH_BSPEC" "TopHybrid.AS_TopHybrid" "main" 'False) (C1 ('MetaCons "Bspec" 'PrefixI 'True) (S1 ('MetaSel ('Just "bitems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TH_BASIC_ITEM]) :*: S1 ('MetaSel ('Just "und") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 s))) |
data TH_BASIC_ITEM Source #
Instances
Data TH_BASIC_ITEM Source # | |
Defined in TopHybrid.AS_TopHybrid gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TH_BASIC_ITEM -> c TH_BASIC_ITEM gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TH_BASIC_ITEM toConstr :: TH_BASIC_ITEM -> Constr dataTypeOf :: TH_BASIC_ITEM -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TH_BASIC_ITEM) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TH_BASIC_ITEM) gmapT :: (forall b. Data b => b -> b) -> TH_BASIC_ITEM -> TH_BASIC_ITEM gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TH_BASIC_ITEM -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TH_BASIC_ITEM -> r gmapQ :: (forall d. Data d => d -> u) -> TH_BASIC_ITEM -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> TH_BASIC_ITEM -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> TH_BASIC_ITEM -> m TH_BASIC_ITEM gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TH_BASIC_ITEM -> m TH_BASIC_ITEM gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TH_BASIC_ITEM -> m TH_BASIC_ITEM | |
Show TH_BASIC_ITEM Source # | |
Defined in TopHybrid.AS_TopHybrid showsPrec :: Int -> TH_BASIC_ITEM -> ShowS show :: TH_BASIC_ITEM -> String showList :: [TH_BASIC_ITEM] -> ShowS | |
Generic TH_BASIC_ITEM | |
Defined in TopHybrid.ATC_TopHybrid type Rep TH_BASIC_ITEM :: Type -> Type from :: TH_BASIC_ITEM -> Rep TH_BASIC_ITEM x to :: Rep TH_BASIC_ITEM x -> TH_BASIC_ITEM | |
GetRange TH_BASIC_ITEM Source # | |
Defined in TopHybrid.AS_TopHybrid getRange :: TH_BASIC_ITEM -> Range Source # rangeSpan :: TH_BASIC_ITEM -> [Pos] Source # | |
FromJSON TH_BASIC_ITEM | |
Defined in TopHybrid.ATC_TopHybrid parseJSON :: Value -> Parser TH_BASIC_ITEM parseJSONList :: Value -> Parser [TH_BASIC_ITEM] | |
ToJSON TH_BASIC_ITEM | |
Defined in TopHybrid.ATC_TopHybrid toJSON :: TH_BASIC_ITEM -> Value toEncoding :: TH_BASIC_ITEM -> Encoding toJSONList :: [TH_BASIC_ITEM] -> Value toEncodingList :: [TH_BASIC_ITEM] -> Encoding | |
ShATermConvertible TH_BASIC_ITEM | |
Defined in TopHybrid.ATC_TopHybrid toShATermAux :: ATermTable -> TH_BASIC_ITEM -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [TH_BASIC_ITEM] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, TH_BASIC_ITEM) fromShATermList' :: Int -> ATermTable -> (ATermTable, [TH_BASIC_ITEM]) | |
Pretty TH_BASIC_ITEM Source # | |
Defined in TopHybrid.Print_AS pretty :: TH_BASIC_ITEM -> Doc Source # pretties :: [TH_BASIC_ITEM] -> Doc Source # | |
type Rep TH_BASIC_ITEM | |
Defined in TopHybrid.ATC_TopHybrid type Rep TH_BASIC_ITEM = D1 ('MetaData "TH_BASIC_ITEM" "TopHybrid.AS_TopHybrid" "main" 'False) (C1 ('MetaCons "Simple_mod_decl" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [MODALITY])) :+: C1 ('MetaCons "Simple_nom_decl" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [NOMINAL]))) |
data TH_FORMULA f Source #
At NOMINAL (TH_FORMULA f) | |
Uni NOMINAL (TH_FORMULA f) | |
Exist NOMINAL (TH_FORMULA f) | |
Box MODALITY (TH_FORMULA f) | |
Dia MODALITY (TH_FORMULA f) | |
UnderLogic f | |
Conjunction (TH_FORMULA f) (TH_FORMULA f) | |
Disjunction (TH_FORMULA f) (TH_FORMULA f) | |
Implication (TH_FORMULA f) (TH_FORMULA f) | |
BiImplication (TH_FORMULA f) (TH_FORMULA f) | |
Here NOMINAL | |
Neg (TH_FORMULA f) | |
Par (TH_FORMULA f) | |
TrueA | |
FalseA |
Instances
Eq f => Eq (TH_FORMULA f) Source # | |
Defined in TopHybrid.AS_TopHybrid (==) :: TH_FORMULA f -> TH_FORMULA f -> Bool (/=) :: TH_FORMULA f -> TH_FORMULA f -> Bool | |
Data f => Data (TH_FORMULA f) Source # | |
Defined in TopHybrid.AS_TopHybrid gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TH_FORMULA f -> c (TH_FORMULA f) gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (TH_FORMULA f) toConstr :: TH_FORMULA f -> Constr dataTypeOf :: TH_FORMULA f -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (TH_FORMULA f)) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (TH_FORMULA f)) gmapT :: (forall b. Data b => b -> b) -> TH_FORMULA f -> TH_FORMULA f gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TH_FORMULA f -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TH_FORMULA f -> r gmapQ :: (forall d. Data d => d -> u) -> TH_FORMULA f -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> TH_FORMULA f -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> TH_FORMULA f -> m (TH_FORMULA f) gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TH_FORMULA f -> m (TH_FORMULA f) gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TH_FORMULA f -> m (TH_FORMULA f) | |
Ord f => Ord (TH_FORMULA f) Source # | |
Defined in TopHybrid.AS_TopHybrid compare :: TH_FORMULA f -> TH_FORMULA f -> Ordering (<) :: TH_FORMULA f -> TH_FORMULA f -> Bool (<=) :: TH_FORMULA f -> TH_FORMULA f -> Bool (>) :: TH_FORMULA f -> TH_FORMULA f -> Bool (>=) :: TH_FORMULA f -> TH_FORMULA f -> Bool max :: TH_FORMULA f -> TH_FORMULA f -> TH_FORMULA f min :: TH_FORMULA f -> TH_FORMULA f -> TH_FORMULA f | |
Show f => Show (TH_FORMULA f) Source # | |
Defined in TopHybrid.AS_TopHybrid showsPrec :: Int -> TH_FORMULA f -> ShowS show :: TH_FORMULA f -> String showList :: [TH_FORMULA f] -> ShowS | |
Generic (TH_FORMULA f) | |
Defined in TopHybrid.ATC_TopHybrid type Rep (TH_FORMULA f) :: Type -> Type from :: TH_FORMULA f -> Rep (TH_FORMULA f) x to :: Rep (TH_FORMULA f) x -> TH_FORMULA f | |
GetRange f => GetRange (TH_FORMULA f) Source # | |
Defined in TopHybrid.AS_TopHybrid getRange :: TH_FORMULA f -> Range Source # rangeSpan :: TH_FORMULA f -> [Pos] Source # | |
FromJSON f => FromJSON (TH_FORMULA f) | |
Defined in TopHybrid.ATC_TopHybrid parseJSON :: Value -> Parser (TH_FORMULA f) parseJSONList :: Value -> Parser [TH_FORMULA f] | |
ToJSON f => ToJSON (TH_FORMULA f) | |
Defined in TopHybrid.ATC_TopHybrid toJSON :: TH_FORMULA f -> Value toEncoding :: TH_FORMULA f -> Encoding toJSONList :: [TH_FORMULA f] -> Value toEncodingList :: [TH_FORMULA f] -> Encoding | |
ShATermConvertible f => ShATermConvertible (TH_FORMULA f) | |
Defined in TopHybrid.ATC_TopHybrid toShATermAux :: ATermTable -> TH_FORMULA f -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [TH_FORMULA f] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, TH_FORMULA f) fromShATermList' :: Int -> ATermTable -> (ATermTable, [TH_FORMULA f]) | |
Pretty f => Pretty (TH_FORMULA f) Source # | |
Defined in TopHybrid.Print_AS pretty :: TH_FORMULA f -> Doc Source # pretties :: [TH_FORMULA f] -> Doc Source # | |
ToXml f => ToXml (TH_FORMULA f) Source # | |
Defined in TopHybrid.AS_TopHybrid asXml :: TH_FORMULA f -> Element Source # | |
ToJson f => ToJson (TH_FORMULA f) Source # | |
Defined in TopHybrid.AS_TopHybrid asJson :: TH_FORMULA f -> Json Source # | |
type Rep (TH_FORMULA f) | |
Defined in TopHybrid.ATC_TopHybrid type Rep (TH_FORMULA f) = D1 ('MetaData "TH_FORMULA" "TopHybrid.AS_TopHybrid" "main" 'False) (((C1 ('MetaCons "At" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NOMINAL) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TH_FORMULA f))) :+: (C1 ('MetaCons "Uni" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NOMINAL) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TH_FORMULA f))) :+: C1 ('MetaCons "Exist" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NOMINAL) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TH_FORMULA f))))) :+: ((C1 ('MetaCons "Box" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MODALITY) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TH_FORMULA f))) :+: C1 ('MetaCons "Dia" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MODALITY) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TH_FORMULA f)))) :+: (C1 ('MetaCons "UnderLogic" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 f)) :+: C1 ('MetaCons "Conjunction" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TH_FORMULA f)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TH_FORMULA f)))))) :+: (((C1 ('MetaCons "Disjunction" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TH_FORMULA f)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TH_FORMULA f))) :+: C1 ('MetaCons "Implication" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TH_FORMULA f)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TH_FORMULA f)))) :+: (C1 ('MetaCons "BiImplication" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TH_FORMULA f)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TH_FORMULA f))) :+: C1 ('MetaCons "Here" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NOMINAL)))) :+: ((C1 ('MetaCons "Neg" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TH_FORMULA f))) :+: C1 ('MetaCons "Par" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TH_FORMULA f)))) :+: (C1 ('MetaCons "TrueA" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FalseA" 'PrefixI 'False) (U1 :: Type -> Type))))) |
forall l sub bs f s sm si mo sy rw pf.Logic l sub bs f s sm si mo sy rw pf => Frm_Wrap l (TH_FORMULA f) |
Instances
forall l sub bs sen si smi sign mor symb raw pf.Logic l sub bs sen si smi sign mor symb raw pf => Spc_Wrap l (TH_BSPEC bs) [Annoted Frm_Wrap] |