Copyright | (c) Hendrik Iben Uni Bremen 2005-2007 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | hiben@informatik.uni-bremen.de |
Stability | provisional |
Portability | non-portable |
Safe Haskell | Safe |
Model of a handpicked subset from OMDoc
Synopsis
- omdocDefaultNamespace :: String
- type OMDocRef = IRI
- type OMDocRefs = [OMDocRef]
- showIRI :: IRI -> String
- mkOMDocRef :: String -> Maybe OMDocRef
- mkSymbolRef :: XmlId -> OMDocRef
- mkExtSymbolRef :: XmlId -> XmlId -> OMDocRef
- type XmlId = String
- type XmlString = String
- data OMDoc = OMDoc {
- omdocId :: XmlId
- omdocTheories :: [Theory]
- omdocInclusions :: [Inclusion]
- addTheories :: OMDoc -> [Theory] -> OMDoc
- addInclusions :: OMDoc -> [Inclusion] -> OMDoc
- data Theory = Theory {
- theoryId :: XmlId
- theoryConstitutives :: [Constitutive]
- theoryPresentations :: [Presentation]
- theoryComment :: Maybe String
- showTheory :: Theory -> String
- data ImportsType
- data Imports = Imports {
- importsFrom :: OMDocRef
- importsMorphism :: Maybe Morphism
- importsId :: Maybe XmlId
- importsType :: ImportsType
- importsConservativity :: Conservativity
- data Presentation = Presentation {
- presentationForId :: XmlId
- presentationSystem :: Maybe XmlString
- presentationUses :: [Use]
- mkPresentationS :: XmlId -> XmlString -> [Use] -> Presentation
- mkPresentation :: XmlId -> [Use] -> Presentation
- addUse :: Presentation -> Use -> Presentation
- data Use = Use {}
- mkUse :: XmlString -> String -> Use
- data SymbolRole
- data Symbol = Symbol {
- symbolGeneratedFrom :: Maybe XmlId
- symbolId :: XmlId
- symbolRole :: SymbolRole
- symbolType :: Maybe Type
- mkSymbolE :: Maybe XmlId -> XmlId -> SymbolRole -> Maybe Type -> Symbol
- mkSymbol :: XmlId -> SymbolRole -> Symbol
- data Type = Type {
- typeSystem :: Maybe IRI
- typeOMDocMathObject :: OMDocMathObject
- mkType :: Maybe OMDocRef -> OMDocMathObject -> Type
- data Constitutive
- mkCAx :: Axiom -> Constitutive
- mkCDe :: Definition -> Constitutive
- mkCSy :: Symbol -> Constitutive
- mkCIm :: Imports -> Constitutive
- mkCAd :: ADT -> Constitutive
- mkCCo :: String -> Constitutive -> Constitutive
- isAxiom :: Constitutive -> Bool
- isDefinition :: Constitutive -> Bool
- isSymbol :: Constitutive -> Bool
- isImports :: Constitutive -> Bool
- isADT :: Constitutive -> Bool
- isCommented :: Constitutive -> Bool
- getIdsForPresentation :: Constitutive -> [XmlId]
- data Axiom = Axiom {}
- mkAxiom :: XmlId -> [CMP] -> [FMP] -> Axiom
- data CMP = CMP {
- cmpContent :: MText
- mkCMP :: MText -> CMP
- data FMP = FMP {
- fmpLogic :: Maybe XmlString
- fmpContent :: Either OMObject ([Assumption], [Conclusion])
- data Assumption = Assumption
- data Conclusion = Conclusion
- data Definition = Definition {
- definitionId :: XmlId
- definitionCMPs :: [CMP]
- definitionFMPs :: [FMP]
- mkDefinition :: XmlId -> [CMP] -> [FMP] -> Definition
- data ADT = ADT {
- adtId :: Maybe XmlId
- adtSortDefs :: [SortDef]
- data SortType
- = STFree
- | STGenerated
- | STLoose
- mkADT :: [SortDef] -> ADT
- mkADTEx :: Maybe XmlId -> [SortDef] -> ADT
- data SortDef = SortDef {}
- mkSortDefE :: XmlId -> SymbolRole -> SortType -> [Constructor] -> [Insort] -> [Recognizer] -> SortDef
- mkSortDef :: XmlId -> [Constructor] -> [Insort] -> [Recognizer] -> SortDef
- data Constructor = Constructor {}
- mkConstructorE :: XmlId -> SymbolRole -> [Type] -> Constructor
- mkConstructor :: XmlId -> [Type] -> Constructor
- data Insort = Insort {}
- mkInsort :: OMDocRef -> Insort
- data Recognizer = Recognizer {}
- mkRecognizer :: XmlId -> Recognizer
- data Conservativity
- data Inclusion
- = TheoryInclusion {
- inclusionFrom :: OMDocRef
- inclusionTo :: OMDocRef
- inclusionMorphism :: Maybe Morphism
- inclusionId :: Maybe XmlId
- inclusionConservativity :: Conservativity
- | AxiomInclusion {
- inclusionFrom :: OMDocRef
- inclusionTo :: OMDocRef
- inclusionMorphism :: Maybe Morphism
- inclusionId :: Maybe XmlId
- inclusionConservativity :: Conservativity
- = TheoryInclusion {
- data Morphism = Morphism {
- morphismId :: Maybe XmlId
- morphismHiding :: [XmlId]
- morphismBase :: [XmlId]
- morphismRequations :: [(MText, MText)]
- data MText
- = MTextText String
- | MTextTerm String
- | MTextPhrase String
- | MTextOM OMObject
- data OMDocMathObject
- data OMObject = OMObject OMElement
- mkOMOBJ :: OMElementClass e => e -> OMObject
- data OMSymbol = OMS {}
- mkOMS :: Maybe OMDocRef -> XmlId -> XmlId -> OMSymbol
- mkOMSE :: Maybe OMDocRef -> XmlId -> XmlId -> OMElement
- data OMInteger = OMI {
- omiInt :: Int
- mkOMI :: Int -> OMInteger
- mkOMIE :: Int -> OMElement
- data OMVariable
- class OMVariableClass a where
- toVariable :: a -> OMVariable
- fromVariable :: OMVariable -> Maybe a
- mkOMVar :: Either OMSimpleVariable OMAttribution -> OMVariable
- mkOMVarE :: Either OMSimpleVariable OMAttribution -> OMElement
- data OMSimpleVariable = OMV {}
- mkOMSimpleVar :: XmlString -> OMSimpleVariable
- mkOMSimpleVarE :: XmlString -> OMElement
- mkOMVSVar :: XmlString -> OMVariable
- mkOMVSVarE :: XmlString -> OMElement
- data OMAttribution = OMATTR {}
- mkOMATTR :: OMElementClass e => OMAttributionPart -> e -> OMAttribution
- mkOMATTRE :: OMElementClass e => OMAttributionPart -> e -> OMElement
- data OMAttributionPart = OMATP {
- omatpAttribs :: [(OMSymbol, OMElement)]
- mkOMATP :: OMElementClass e => [(OMSymbol, e)] -> OMAttributionPart
- data OMBindingVariables = OMBVAR {
- ombvarVars :: [OMVariable]
- mkOMBVAR :: OMVariableClass e => [e] -> OMBindingVariables
- data OMBase64 = OMB {
- ombContent :: [Word8]
- mkOMB :: [Word8] -> OMBase64
- mkOMBE :: [Word8] -> OMElement
- mkOMBWords :: [Word8] -> OMBase64
- mkOMBWordsE :: [Word8] -> OMElement
- getOMBWords :: OMBase64 -> [Word8]
- data OMString = OMSTR {
- omstrText :: String
- mkOMSTR :: String -> OMString
- mkOMSTRE :: String -> OMElement
- data OMFloat = OMF {
- omfFloat :: Float
- mkOMF :: Float -> OMFloat
- mkOMFE :: Float -> OMElement
- data OMApply = OMA {
- omaElements :: [OMElement]
- mkOMA :: OMElementClass e => [e] -> OMApply
- mkOMAE :: OMElementClass e => [e] -> OMElement
- data OMError = OME {}
- mkOME :: OMElementClass e => OMSymbol -> [e] -> OMError
- mkOMEE :: OMElementClass e => OMSymbol -> [e] -> OMElement
- data OMReference = OMR {}
- mkOMR :: IRI -> OMReference
- mkOMRE :: IRI -> OMElement
- data OMBind = OMBIND {}
- mkOMBIND :: (OMElementClass e1, OMElementClass e2) => e1 -> OMBindingVariables -> e2 -> OMBind
- mkOMBINDE :: (OMElementClass e1, OMElementClass e2) => e1 -> OMBindingVariables -> e2 -> OMElement
- data OMElement
- mkOMComment :: String -> OMElement
- mkOMCommented :: OMElementClass e => String -> e -> OMElement
- class OMElementClass a where
- toElement :: a -> OMElement
- fromElement :: OMElement -> Maybe a
Documentation
omdocDefaultNamespace :: String Source #
mkOMDocRef :: String -> Maybe OMDocRef Source #
mkSymbolRef :: XmlId -> OMDocRef Source #
OMDoc
OMDoc | |
|
Instances
Data OMDoc Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OMDoc -> c OMDoc gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OMDoc dataTypeOf :: OMDoc -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OMDoc) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OMDoc) gmapT :: (forall b. Data b => b -> b) -> OMDoc -> OMDoc gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OMDoc -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OMDoc -> r gmapQ :: (forall d. Data d => d -> u) -> OMDoc -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> OMDoc -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> OMDoc -> m OMDoc gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OMDoc -> m OMDoc gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OMDoc -> m OMDoc | |
Show OMDoc Source # | |
Generic OMDoc | |
FromJSON OMDoc | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser OMDoc parseJSONList :: Value -> Parser [OMDoc] | |
ToJSON OMDoc | |
Defined in OMDoc.ATC_OMDoc | |
ShATermConvertible OMDoc | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> OMDoc -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OMDoc] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OMDoc) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OMDoc]) | |
type Rep OMDoc | |
Defined in OMDoc.ATC_OMDoc type Rep OMDoc = D1 ('MetaData "OMDoc" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "OMDoc" 'PrefixI 'True) (S1 ('MetaSel ('Just "omdocId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 XmlId) :*: (S1 ('MetaSel ('Just "omdocTheories") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Theory]) :*: S1 ('MetaSel ('Just "omdocInclusions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inclusion])))) |
Theory | |
|
Instances
showTheory :: Theory -> String Source #
data ImportsType Source #
Type (scope) of import
Instances
Data ImportsType Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ImportsType -> c ImportsType gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ImportsType toConstr :: ImportsType -> Constr dataTypeOf :: ImportsType -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ImportsType) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ImportsType) gmapT :: (forall b. Data b => b -> b) -> ImportsType -> ImportsType gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ImportsType -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ImportsType -> r gmapQ :: (forall d. Data d => d -> u) -> ImportsType -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> ImportsType -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> ImportsType -> m ImportsType gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ImportsType -> m ImportsType gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ImportsType -> m ImportsType | |
Show ImportsType Source # | |
Defined in OMDoc.OMDocInterface showsPrec :: Int -> ImportsType -> ShowS show :: ImportsType -> String showList :: [ImportsType] -> ShowS | |
Generic ImportsType | |
Defined in OMDoc.ATC_OMDoc type Rep ImportsType :: Type -> Type from :: ImportsType -> Rep ImportsType x to :: Rep ImportsType x -> ImportsType | |
FromJSON ImportsType | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser ImportsType parseJSONList :: Value -> Parser [ImportsType] | |
ToJSON ImportsType | |
Defined in OMDoc.ATC_OMDoc toJSON :: ImportsType -> Value toEncoding :: ImportsType -> Encoding toJSONList :: [ImportsType] -> Value toEncodingList :: [ImportsType] -> Encoding | |
ShATermConvertible ImportsType | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> ImportsType -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [ImportsType] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, ImportsType) fromShATermList' :: Int -> ATermTable -> (ATermTable, [ImportsType]) | |
type Rep ImportsType | |
Defined in OMDoc.ATC_OMDoc type Rep ImportsType = D1 ('MetaData "ImportsType" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "ITLocal" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ITGlobal" 'PrefixI 'False) (U1 :: Type -> Type)) |
Imports (for Theory)
Imports | |
|
Instances
Data Imports Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Imports -> c Imports gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Imports dataTypeOf :: Imports -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Imports) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Imports) gmapT :: (forall b. Data b => b -> b) -> Imports -> Imports gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Imports -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Imports -> r gmapQ :: (forall d. Data d => d -> u) -> Imports -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Imports -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Imports -> m Imports gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Imports -> m Imports gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Imports -> m Imports | |
Show Imports Source # | |
Generic Imports | |
FromJSON Imports | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser Imports parseJSONList :: Value -> Parser [Imports] | |
ToJSON Imports | |
Defined in OMDoc.ATC_OMDoc toEncoding :: Imports -> Encoding toJSONList :: [Imports] -> Value toEncodingList :: [Imports] -> Encoding | |
ShATermConvertible Imports | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> Imports -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Imports] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Imports) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Imports]) | |
type Rep Imports | |
Defined in OMDoc.ATC_OMDoc type Rep Imports = D1 ('MetaData "Imports" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "Imports" 'PrefixI 'True) ((S1 ('MetaSel ('Just "importsFrom") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OMDocRef) :*: S1 ('MetaSel ('Just "importsMorphism") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Morphism))) :*: (S1 ('MetaSel ('Just "importsId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe XmlId)) :*: (S1 ('MetaSel ('Just "importsType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ImportsType) :*: S1 ('MetaSel ('Just "importsConservativity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Conservativity))))) |
data Presentation Source #
Presentation
Presentation | |
|
Instances
Eq Presentation Source # | |
Defined in OMDoc.OMDocInterface (==) :: Presentation -> Presentation -> Bool (/=) :: Presentation -> Presentation -> Bool | |
Data Presentation Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Presentation -> c Presentation gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Presentation toConstr :: Presentation -> Constr dataTypeOf :: Presentation -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Presentation) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Presentation) gmapT :: (forall b. Data b => b -> b) -> Presentation -> Presentation gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Presentation -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Presentation -> r gmapQ :: (forall d. Data d => d -> u) -> Presentation -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Presentation -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Presentation -> m Presentation gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Presentation -> m Presentation gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Presentation -> m Presentation | |
Show Presentation Source # | |
Defined in OMDoc.OMDocInterface showsPrec :: Int -> Presentation -> ShowS show :: Presentation -> String showList :: [Presentation] -> ShowS | |
Generic Presentation | |
Defined in OMDoc.ATC_OMDoc type Rep Presentation :: Type -> Type from :: Presentation -> Rep Presentation x to :: Rep Presentation x -> Presentation | |
FromJSON Presentation | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser Presentation parseJSONList :: Value -> Parser [Presentation] | |
ToJSON Presentation | |
Defined in OMDoc.ATC_OMDoc toJSON :: Presentation -> Value toEncoding :: Presentation -> Encoding toJSONList :: [Presentation] -> Value toEncodingList :: [Presentation] -> Encoding | |
ShATermConvertible Presentation | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> Presentation -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Presentation] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Presentation) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Presentation]) | |
type Rep Presentation | |
Defined in OMDoc.ATC_OMDoc type Rep Presentation = D1 ('MetaData "Presentation" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "Presentation" 'PrefixI 'True) (S1 ('MetaSel ('Just "presentationForId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 XmlId) :*: (S1 ('MetaSel ('Just "presentationSystem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe XmlString)) :*: S1 ('MetaSel ('Just "presentationUses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Use])))) |
mkPresentationS :: XmlId -> XmlString -> [Use] -> Presentation Source #
mkPresentation :: XmlId -> [Use] -> Presentation Source #
addUse :: Presentation -> Use -> Presentation Source #
Use for Presentation
Instances
Eq Use Source # | |
Data Use Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Use -> c Use gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Use dataTypeOf :: Use -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Use) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Use) gmapT :: (forall b. Data b => b -> b) -> Use -> Use gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Use -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Use -> r gmapQ :: (forall d. Data d => d -> u) -> Use -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Use -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Use -> m Use gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Use -> m Use gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Use -> m Use | |
Show Use Source # | |
Generic Use | |
FromJSON Use | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser Use parseJSONList :: Value -> Parser [Use] | |
ToJSON Use | |
Defined in OMDoc.ATC_OMDoc | |
ShATermConvertible Use | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> Use -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Use] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Use) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Use]) | |
type Rep Use | |
Defined in OMDoc.ATC_OMDoc type Rep Use = D1 ('MetaData "Use" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "Use" 'PrefixI 'True) (S1 ('MetaSel ('Just "useFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 XmlString) :*: S1 ('MetaSel ('Just "useValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))) |
data SymbolRole Source #
SymbolRole for Symbol
Instances
Eq SymbolRole Source # | |
Defined in OMDoc.OMDocInterface (==) :: SymbolRole -> SymbolRole -> Bool (/=) :: SymbolRole -> SymbolRole -> Bool | |
Data SymbolRole Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SymbolRole -> c SymbolRole gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SymbolRole toConstr :: SymbolRole -> Constr dataTypeOf :: SymbolRole -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SymbolRole) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SymbolRole) gmapT :: (forall b. Data b => b -> b) -> SymbolRole -> SymbolRole gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SymbolRole -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SymbolRole -> r gmapQ :: (forall d. Data d => d -> u) -> SymbolRole -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> SymbolRole -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> SymbolRole -> m SymbolRole gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SymbolRole -> m SymbolRole gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SymbolRole -> m SymbolRole | |
Ord SymbolRole Source # | |
Defined in OMDoc.OMDocInterface compare :: SymbolRole -> SymbolRole -> Ordering (<) :: SymbolRole -> SymbolRole -> Bool (<=) :: SymbolRole -> SymbolRole -> Bool (>) :: SymbolRole -> SymbolRole -> Bool (>=) :: SymbolRole -> SymbolRole -> Bool max :: SymbolRole -> SymbolRole -> SymbolRole min :: SymbolRole -> SymbolRole -> SymbolRole | |
Read SymbolRole Source # | |
Defined in OMDoc.OMDocInterface readsPrec :: Int -> ReadS SymbolRole readList :: ReadS [SymbolRole] readPrec :: ReadPrec SymbolRole readListPrec :: ReadPrec [SymbolRole] | |
Show SymbolRole Source # | |
Defined in OMDoc.OMDocInterface showsPrec :: Int -> SymbolRole -> ShowS show :: SymbolRole -> String showList :: [SymbolRole] -> ShowS | |
Generic SymbolRole | |
Defined in OMDoc.ATC_OMDoc type Rep SymbolRole :: Type -> Type from :: SymbolRole -> Rep SymbolRole x to :: Rep SymbolRole x -> SymbolRole | |
FromJSON SymbolRole | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser SymbolRole parseJSONList :: Value -> Parser [SymbolRole] | |
ToJSON SymbolRole | |
Defined in OMDoc.ATC_OMDoc toJSON :: SymbolRole -> Value toEncoding :: SymbolRole -> Encoding toJSONList :: [SymbolRole] -> Value toEncodingList :: [SymbolRole] -> Encoding | |
ShATermConvertible SymbolRole | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> SymbolRole -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [SymbolRole] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, SymbolRole) fromShATermList' :: Int -> ATermTable -> (ATermTable, [SymbolRole]) | |
type Rep SymbolRole | |
Defined in OMDoc.ATC_OMDoc type Rep SymbolRole = D1 ('MetaData "SymbolRole" "OMDoc.OMDocInterface" "main" 'False) ((C1 ('MetaCons "SRType" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SRSort" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SRObject" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "SRBinder" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SRAttribution" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SRSemanticAttribution" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SRError" 'PrefixI 'False) (U1 :: Type -> Type)))) |
Symbol
Symbol | |
|
Instances
Type
Type | |
|
Instances
Eq Type Source # | |
Data Type Source # | |
Defined in OMDoc.OMDocInterface 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 | |
FromJSON Type | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser Type parseJSONList :: Value -> Parser [Type] | |
ToJSON Type | |
Defined in OMDoc.ATC_OMDoc | |
ShATermConvertible Type | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> Type -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Type] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Type) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Type]) | |
type Rep Type | |
Defined in OMDoc.ATC_OMDoc type Rep Type = D1 ('MetaData "Type" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "Type" 'PrefixI 'True) (S1 ('MetaSel ('Just "typeSystem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe IRI)) :*: S1 ('MetaSel ('Just "typeOMDocMathObject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OMDocMathObject))) |
data Constitutive Source #
OMDoc Theory constitutive elements + convenience additions (ADT)
CAx Axiom | |
CDe Definition | |
CSy Symbol | |
CIm Imports | |
CAd ADT | |
CCo | |
|
Instances
Data Constitutive Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Constitutive -> c Constitutive gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Constitutive toConstr :: Constitutive -> Constr dataTypeOf :: Constitutive -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Constitutive) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Constitutive) gmapT :: (forall b. Data b => b -> b) -> Constitutive -> Constitutive gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Constitutive -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Constitutive -> r gmapQ :: (forall d. Data d => d -> u) -> Constitutive -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Constitutive -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Constitutive -> m Constitutive gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Constitutive -> m Constitutive gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Constitutive -> m Constitutive | |
Show Constitutive Source # | |
Defined in OMDoc.OMDocInterface showsPrec :: Int -> Constitutive -> ShowS show :: Constitutive -> String showList :: [Constitutive] -> ShowS | |
Generic Constitutive | |
Defined in OMDoc.ATC_OMDoc type Rep Constitutive :: Type -> Type from :: Constitutive -> Rep Constitutive x to :: Rep Constitutive x -> Constitutive | |
FromJSON Constitutive | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser Constitutive parseJSONList :: Value -> Parser [Constitutive] | |
ToJSON Constitutive | |
Defined in OMDoc.ATC_OMDoc toJSON :: Constitutive -> Value toEncoding :: Constitutive -> Encoding toJSONList :: [Constitutive] -> Value toEncodingList :: [Constitutive] -> Encoding | |
ShATermConvertible Constitutive | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> Constitutive -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Constitutive] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Constitutive) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Constitutive]) | |
type Rep Constitutive | |
Defined in OMDoc.ATC_OMDoc type Rep Constitutive = D1 ('MetaData "Constitutive" "OMDoc.OMDocInterface" "main" 'False) ((C1 ('MetaCons "CAx" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Axiom)) :+: (C1 ('MetaCons "CDe" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Definition)) :+: C1 ('MetaCons "CSy" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Symbol)))) :+: (C1 ('MetaCons "CIm" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Imports)) :+: (C1 ('MetaCons "CAd" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ADT)) :+: C1 ('MetaCons "CCo" 'PrefixI 'True) (S1 ('MetaSel ('Just "conComCmt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "conComCon") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Constitutive))))) |
mkCAx :: Axiom -> Constitutive Source #
mkCDe :: Definition -> Constitutive Source #
mkCSy :: Symbol -> Constitutive Source #
mkCIm :: Imports -> Constitutive Source #
mkCAd :: ADT -> Constitutive Source #
mkCCo :: String -> Constitutive -> Constitutive Source #
isAxiom :: Constitutive -> Bool Source #
isDefinition :: Constitutive -> Bool Source #
isSymbol :: Constitutive -> Bool Source #
isImports :: Constitutive -> Bool Source #
isADT :: Constitutive -> Bool Source #
isCommented :: Constitutive -> Bool Source #
getIdsForPresentation :: Constitutive -> [XmlId] Source #
Axiom
Instances
Data Axiom Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Axiom -> c Axiom gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Axiom dataTypeOf :: Axiom -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Axiom) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Axiom) gmapT :: (forall b. Data b => b -> b) -> Axiom -> Axiom gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Axiom -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Axiom -> r gmapQ :: (forall d. Data d => d -> u) -> Axiom -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Axiom -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Axiom -> m Axiom gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Axiom -> m Axiom gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Axiom -> m Axiom | |
Show Axiom Source # | |
Generic Axiom | |
FromJSON Axiom | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser Axiom parseJSONList :: Value -> Parser [Axiom] | |
ToJSON Axiom | |
Defined in OMDoc.ATC_OMDoc | |
ShATermConvertible Axiom | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> Axiom -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Axiom] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Axiom) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Axiom]) | |
type Rep Axiom | |
Defined in OMDoc.ATC_OMDoc type Rep Axiom = D1 ('MetaData "Axiom" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "Axiom" 'PrefixI 'True) (S1 ('MetaSel ('Just "axiomName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 XmlId) :*: (S1 ('MetaSel ('Just "axiomCMPs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CMP]) :*: S1 ('MetaSel ('Just "axiomFMPs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [FMP])))) |
CMP
CMP | |
|
Instances
Data CMP Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CMP -> c CMP gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CMP dataTypeOf :: CMP -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CMP) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CMP) gmapT :: (forall b. Data b => b -> b) -> CMP -> CMP gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CMP -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CMP -> r gmapQ :: (forall d. Data d => d -> u) -> CMP -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> CMP -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> CMP -> m CMP gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CMP -> m CMP gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CMP -> m CMP | |
Show CMP Source # | |
Generic CMP | |
FromJSON CMP | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser CMP parseJSONList :: Value -> Parser [CMP] | |
ToJSON CMP | |
Defined in OMDoc.ATC_OMDoc | |
ShATermConvertible CMP | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> CMP -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [CMP] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, CMP) fromShATermList' :: Int -> ATermTable -> (ATermTable, [CMP]) | |
type Rep CMP | |
Defined in OMDoc.ATC_OMDoc |
FMP
FMP | |
|
Instances
Data FMP Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FMP -> c FMP gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FMP dataTypeOf :: FMP -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FMP) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FMP) gmapT :: (forall b. Data b => b -> b) -> FMP -> FMP gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FMP -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FMP -> r gmapQ :: (forall d. Data d => d -> u) -> FMP -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> FMP -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> FMP -> m FMP gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FMP -> m FMP gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FMP -> m FMP | |
Show FMP Source # | |
Generic FMP | |
FromJSON FMP | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser FMP parseJSONList :: Value -> Parser [FMP] | |
ToJSON FMP | |
Defined in OMDoc.ATC_OMDoc | |
ShATermConvertible FMP | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> FMP -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [FMP] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, FMP) fromShATermList' :: Int -> ATermTable -> (ATermTable, [FMP]) | |
type Rep FMP | |
Defined in OMDoc.ATC_OMDoc type Rep FMP = D1 ('MetaData "FMP" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "FMP" 'PrefixI 'True) (S1 ('MetaSel ('Just "fmpLogic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe XmlString)) :*: S1 ('MetaSel ('Just "fmpContent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Either OMObject ([Assumption], [Conclusion]))))) |
data Assumption Source #
Assumption (incomplete)
Instances
Data Assumption Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Assumption -> c Assumption gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Assumption toConstr :: Assumption -> Constr dataTypeOf :: Assumption -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Assumption) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Assumption) gmapT :: (forall b. Data b => b -> b) -> Assumption -> Assumption gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Assumption -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Assumption -> r gmapQ :: (forall d. Data d => d -> u) -> Assumption -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Assumption -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Assumption -> m Assumption gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Assumption -> m Assumption gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Assumption -> m Assumption | |
Show Assumption Source # | |
Defined in OMDoc.OMDocInterface showsPrec :: Int -> Assumption -> ShowS show :: Assumption -> String showList :: [Assumption] -> ShowS | |
Generic Assumption | |
Defined in OMDoc.ATC_OMDoc type Rep Assumption :: Type -> Type from :: Assumption -> Rep Assumption x to :: Rep Assumption x -> Assumption | |
FromJSON Assumption | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser Assumption parseJSONList :: Value -> Parser [Assumption] | |
ToJSON Assumption | |
Defined in OMDoc.ATC_OMDoc toJSON :: Assumption -> Value toEncoding :: Assumption -> Encoding toJSONList :: [Assumption] -> Value toEncodingList :: [Assumption] -> Encoding | |
ShATermConvertible Assumption | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> Assumption -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Assumption] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Assumption) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Assumption]) | |
type Rep Assumption | |
Defined in OMDoc.ATC_OMDoc type Rep Assumption = D1 ('MetaData "Assumption" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "Assumption" 'PrefixI 'False) (U1 :: Type -> Type)) |
data Conclusion Source #
Instances
Data Conclusion Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Conclusion -> c Conclusion gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Conclusion toConstr :: Conclusion -> Constr dataTypeOf :: Conclusion -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Conclusion) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Conclusion) gmapT :: (forall b. Data b => b -> b) -> Conclusion -> Conclusion gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Conclusion -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Conclusion -> r gmapQ :: (forall d. Data d => d -> u) -> Conclusion -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Conclusion -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Conclusion -> m Conclusion gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Conclusion -> m Conclusion gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Conclusion -> m Conclusion | |
Show Conclusion Source # | |
Defined in OMDoc.OMDocInterface showsPrec :: Int -> Conclusion -> ShowS show :: Conclusion -> String showList :: [Conclusion] -> ShowS | |
Generic Conclusion | |
Defined in OMDoc.ATC_OMDoc type Rep Conclusion :: Type -> Type from :: Conclusion -> Rep Conclusion x to :: Rep Conclusion x -> Conclusion | |
FromJSON Conclusion | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser Conclusion parseJSONList :: Value -> Parser [Conclusion] | |
ToJSON Conclusion | |
Defined in OMDoc.ATC_OMDoc toJSON :: Conclusion -> Value toEncoding :: Conclusion -> Encoding toJSONList :: [Conclusion] -> Value toEncodingList :: [Conclusion] -> Encoding | |
ShATermConvertible Conclusion | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> Conclusion -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Conclusion] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Conclusion) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Conclusion]) | |
type Rep Conclusion | |
Defined in OMDoc.ATC_OMDoc type Rep Conclusion = D1 ('MetaData "Conclusion" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "Conclusion" 'PrefixI 'False) (U1 :: Type -> Type)) |
data Definition Source #
Definition (incomplete)
Definition | |
|
Instances
Data Definition Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Definition -> c Definition gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Definition toConstr :: Definition -> Constr dataTypeOf :: Definition -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Definition) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Definition) gmapT :: (forall b. Data b => b -> b) -> Definition -> Definition gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Definition -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Definition -> r gmapQ :: (forall d. Data d => d -> u) -> Definition -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Definition -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Definition -> m Definition gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Definition -> m Definition gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Definition -> m Definition | |
Show Definition Source # | |
Defined in OMDoc.OMDocInterface showsPrec :: Int -> Definition -> ShowS show :: Definition -> String showList :: [Definition] -> ShowS | |
Generic Definition | |
Defined in OMDoc.ATC_OMDoc type Rep Definition :: Type -> Type from :: Definition -> Rep Definition x to :: Rep Definition x -> Definition | |
FromJSON Definition | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser Definition parseJSONList :: Value -> Parser [Definition] | |
ToJSON Definition | |
Defined in OMDoc.ATC_OMDoc toJSON :: Definition -> Value toEncoding :: Definition -> Encoding toJSONList :: [Definition] -> Value toEncodingList :: [Definition] -> Encoding | |
ShATermConvertible Definition | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> Definition -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Definition] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Definition) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Definition]) | |
type Rep Definition | |
Defined in OMDoc.ATC_OMDoc type Rep Definition = D1 ('MetaData "Definition" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "Definition" 'PrefixI 'True) (S1 ('MetaSel ('Just "definitionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 XmlId) :*: (S1 ('MetaSel ('Just "definitionCMPs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CMP]) :*: S1 ('MetaSel ('Just "definitionFMPs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [FMP])))) |
mkDefinition :: XmlId -> [CMP] -> [FMP] -> Definition Source #
ADT
ADT | |
|
Instances
Data ADT Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ADT -> c ADT gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ADT dataTypeOf :: ADT -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ADT) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ADT) gmapT :: (forall b. Data b => b -> b) -> ADT -> ADT gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ADT -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ADT -> r gmapQ :: (forall d. Data d => d -> u) -> ADT -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> ADT -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> ADT -> m ADT gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ADT -> m ADT gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ADT -> m ADT | |
Show ADT Source # | |
Generic ADT | |
FromJSON ADT | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser ADT parseJSONList :: Value -> Parser [ADT] | |
ToJSON ADT | |
Defined in OMDoc.ATC_OMDoc | |
ShATermConvertible ADT | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> ADT -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [ADT] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, ADT) fromShATermList' :: Int -> ATermTable -> (ATermTable, [ADT]) | |
type Rep ADT | |
Defined in OMDoc.ATC_OMDoc type Rep ADT = D1 ('MetaData "ADT" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "ADT" 'PrefixI 'True) (S1 ('MetaSel ('Just "adtId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe XmlId)) :*: S1 ('MetaSel ('Just "adtSortDefs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SortDef]))) |
Instances
Data SortType Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SortType -> c SortType gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SortType toConstr :: SortType -> Constr dataTypeOf :: SortType -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SortType) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SortType) gmapT :: (forall b. Data b => b -> b) -> SortType -> SortType gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SortType -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SortType -> r gmapQ :: (forall d. Data d => d -> u) -> SortType -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> SortType -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> SortType -> m SortType gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SortType -> m SortType gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SortType -> m SortType | |
Read SortType Source # | |
Defined in OMDoc.OMDocInterface | |
Show SortType Source # | |
Generic SortType | |
FromJSON SortType | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser SortType parseJSONList :: Value -> Parser [SortType] | |
ToJSON SortType | |
Defined in OMDoc.ATC_OMDoc toEncoding :: SortType -> Encoding toJSONList :: [SortType] -> Value toEncodingList :: [SortType] -> Encoding | |
ShATermConvertible SortType | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> SortType -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [SortType] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, SortType) fromShATermList' :: Int -> ATermTable -> (ATermTable, [SortType]) | |
type Rep SortType | |
Defined in OMDoc.ATC_OMDoc type Rep SortType = D1 ('MetaData "SortType" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "STFree" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "STGenerated" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "STLoose" 'PrefixI 'False) (U1 :: Type -> Type))) |
SortDef
SortDef | |
|
Instances
Data SortDef Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SortDef -> c SortDef gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SortDef dataTypeOf :: SortDef -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SortDef) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SortDef) gmapT :: (forall b. Data b => b -> b) -> SortDef -> SortDef gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SortDef -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SortDef -> r gmapQ :: (forall d. Data d => d -> u) -> SortDef -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> SortDef -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> SortDef -> m SortDef gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SortDef -> m SortDef gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SortDef -> m SortDef | |
Show SortDef Source # | |
Generic SortDef | |
FromJSON SortDef | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser SortDef parseJSONList :: Value -> Parser [SortDef] | |
ToJSON SortDef | |
Defined in OMDoc.ATC_OMDoc toEncoding :: SortDef -> Encoding toJSONList :: [SortDef] -> Value toEncodingList :: [SortDef] -> Encoding | |
ShATermConvertible SortDef | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> SortDef -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [SortDef] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, SortDef) fromShATermList' :: Int -> ATermTable -> (ATermTable, [SortDef]) | |
type Rep SortDef | |
Defined in OMDoc.ATC_OMDoc type Rep SortDef = D1 ('MetaData "SortDef" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "SortDef" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sortDefName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 XmlId) :*: (S1 ('MetaSel ('Just "sortDefRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SymbolRole) :*: S1 ('MetaSel ('Just "sortDefType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SortType))) :*: (S1 ('MetaSel ('Just "sortDefConstructors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Constructor]) :*: (S1 ('MetaSel ('Just "sortDefInsorts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Insort]) :*: S1 ('MetaSel ('Just "sortDefRecognizers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Recognizer]))))) |
mkSortDefE :: XmlId -> SymbolRole -> SortType -> [Constructor] -> [Insort] -> [Recognizer] -> SortDef Source #
mkSortDef :: XmlId -> [Constructor] -> [Insort] -> [Recognizer] -> SortDef Source #
data Constructor Source #
Constructor
Instances
Data Constructor Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Constructor -> c Constructor gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Constructor toConstr :: Constructor -> Constr dataTypeOf :: Constructor -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Constructor) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Constructor) gmapT :: (forall b. Data b => b -> b) -> Constructor -> Constructor gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Constructor -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Constructor -> r gmapQ :: (forall d. Data d => d -> u) -> Constructor -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Constructor -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Constructor -> m Constructor gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Constructor -> m Constructor gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Constructor -> m Constructor | |
Show Constructor Source # | |
Defined in OMDoc.OMDocInterface showsPrec :: Int -> Constructor -> ShowS show :: Constructor -> String showList :: [Constructor] -> ShowS | |
Generic Constructor | |
Defined in OMDoc.ATC_OMDoc type Rep Constructor :: Type -> Type from :: Constructor -> Rep Constructor x to :: Rep Constructor x -> Constructor | |
FromJSON Constructor | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser Constructor parseJSONList :: Value -> Parser [Constructor] | |
ToJSON Constructor | |
Defined in OMDoc.ATC_OMDoc toJSON :: Constructor -> Value toEncoding :: Constructor -> Encoding toJSONList :: [Constructor] -> Value toEncodingList :: [Constructor] -> Encoding | |
ShATermConvertible Constructor | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> Constructor -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Constructor] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Constructor) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Constructor]) | |
type Rep Constructor | |
Defined in OMDoc.ATC_OMDoc type Rep Constructor = D1 ('MetaData "Constructor" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "Constructor" 'PrefixI 'True) (S1 ('MetaSel ('Just "constructorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 XmlId) :*: (S1 ('MetaSel ('Just "constructorRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SymbolRole) :*: S1 ('MetaSel ('Just "constructorArguments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Type])))) |
mkConstructorE :: XmlId -> SymbolRole -> [Type] -> Constructor Source #
mkConstructor :: XmlId -> [Type] -> Constructor Source #
Insort
Instances
Data Insort Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Insort -> c Insort gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Insort dataTypeOf :: Insort -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Insort) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Insort) gmapT :: (forall b. Data b => b -> b) -> Insort -> Insort gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Insort -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Insort -> r gmapQ :: (forall d. Data d => d -> u) -> Insort -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Insort -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Insort -> m Insort gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Insort -> m Insort gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Insort -> m Insort | |
Show Insort Source # | |
Generic Insort | |
FromJSON Insort | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser Insort parseJSONList :: Value -> Parser [Insort] | |
ToJSON Insort | |
Defined in OMDoc.ATC_OMDoc toEncoding :: Insort -> Encoding toJSONList :: [Insort] -> Value toEncodingList :: [Insort] -> Encoding | |
ShATermConvertible Insort | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> Insort -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Insort] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Insort) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Insort]) | |
type Rep Insort | |
Defined in OMDoc.ATC_OMDoc |
data Recognizer Source #
Recognizer
Instances
Data Recognizer Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Recognizer -> c Recognizer gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Recognizer toConstr :: Recognizer -> Constr dataTypeOf :: Recognizer -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Recognizer) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Recognizer) gmapT :: (forall b. Data b => b -> b) -> Recognizer -> Recognizer gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Recognizer -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Recognizer -> r gmapQ :: (forall d. Data d => d -> u) -> Recognizer -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Recognizer -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Recognizer -> m Recognizer gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Recognizer -> m Recognizer gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Recognizer -> m Recognizer | |
Show Recognizer Source # | |
Defined in OMDoc.OMDocInterface showsPrec :: Int -> Recognizer -> ShowS show :: Recognizer -> String showList :: [Recognizer] -> ShowS | |
Generic Recognizer | |
Defined in OMDoc.ATC_OMDoc type Rep Recognizer :: Type -> Type from :: Recognizer -> Rep Recognizer x to :: Rep Recognizer x -> Recognizer | |
FromJSON Recognizer | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser Recognizer parseJSONList :: Value -> Parser [Recognizer] | |
ToJSON Recognizer | |
Defined in OMDoc.ATC_OMDoc toJSON :: Recognizer -> Value toEncoding :: Recognizer -> Encoding toJSONList :: [Recognizer] -> Value toEncodingList :: [Recognizer] -> Encoding | |
ShATermConvertible Recognizer | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> Recognizer -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Recognizer] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Recognizer) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Recognizer]) | |
type Rep Recognizer | |
Defined in OMDoc.ATC_OMDoc type Rep Recognizer = D1 ('MetaData "Recognizer" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "Recognizer" 'PrefixI 'True) (S1 ('MetaSel ('Just "recognizerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 XmlId))) |
mkRecognizer :: XmlId -> Recognizer Source #
data Conservativity Source #
Inclusion-Conservativity
Instances
Eq Conservativity Source # | |
Defined in OMDoc.OMDocInterface (==) :: Conservativity -> Conservativity -> Bool (/=) :: Conservativity -> Conservativity -> Bool | |
Data Conservativity Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Conservativity -> c Conservativity gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Conservativity toConstr :: Conservativity -> Constr dataTypeOf :: Conservativity -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Conservativity) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Conservativity) gmapT :: (forall b. Data b => b -> b) -> Conservativity -> Conservativity gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Conservativity -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Conservativity -> r gmapQ :: (forall d. Data d => d -> u) -> Conservativity -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Conservativity -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Conservativity -> m Conservativity gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Conservativity -> m Conservativity gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Conservativity -> m Conservativity | |
Ord Conservativity Source # | |
Defined in OMDoc.OMDocInterface compare :: Conservativity -> Conservativity -> Ordering (<) :: Conservativity -> Conservativity -> Bool (<=) :: Conservativity -> Conservativity -> Bool (>) :: Conservativity -> Conservativity -> Bool (>=) :: Conservativity -> Conservativity -> Bool max :: Conservativity -> Conservativity -> Conservativity min :: Conservativity -> Conservativity -> Conservativity | |
Read Conservativity Source # | |
Defined in OMDoc.OMDocInterface readsPrec :: Int -> ReadS Conservativity readList :: ReadS [Conservativity] readPrec :: ReadPrec Conservativity readListPrec :: ReadPrec [Conservativity] | |
Show Conservativity Source # | |
Defined in OMDoc.OMDocInterface showsPrec :: Int -> Conservativity -> ShowS show :: Conservativity -> String showList :: [Conservativity] -> ShowS | |
Generic Conservativity | |
Defined in OMDoc.ATC_OMDoc type Rep Conservativity :: Type -> Type from :: Conservativity -> Rep Conservativity x to :: Rep Conservativity x -> Conservativity | |
FromJSON Conservativity | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser Conservativity parseJSONList :: Value -> Parser [Conservativity] | |
ToJSON Conservativity | |
Defined in OMDoc.ATC_OMDoc toJSON :: Conservativity -> Value toEncoding :: Conservativity -> Encoding toJSONList :: [Conservativity] -> Value toEncodingList :: [Conservativity] -> Encoding | |
ShATermConvertible Conservativity | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> Conservativity -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Conservativity] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Conservativity) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Conservativity]) | |
type Rep Conservativity | |
Defined in OMDoc.ATC_OMDoc type Rep Conservativity = D1 ('MetaData "Conservativity" "OMDoc.OMDocInterface" "main" 'False) ((C1 ('MetaCons "CNone" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CMonomorphism" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "CDefinitional" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CConservative" 'PrefixI 'False) (U1 :: Type -> Type))) |
Inclusions
TheoryInclusion | |
| |
AxiomInclusion | |
|
Instances
OMDoc Morphism
Morphism | |
|
Instances
Eq Morphism Source # | |
Data Morphism Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Morphism -> c Morphism gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Morphism toConstr :: Morphism -> Constr dataTypeOf :: Morphism -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Morphism) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Morphism) gmapT :: (forall b. Data b => b -> b) -> Morphism -> Morphism gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Morphism -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Morphism -> r gmapQ :: (forall d. Data d => d -> u) -> Morphism -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> Morphism -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> Morphism -> m Morphism gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Morphism -> m Morphism gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Morphism -> m Morphism | |
Ord Morphism Source # | |
Show Morphism Source # | |
Generic Morphism | |
FromJSON Morphism | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser Morphism parseJSONList :: Value -> Parser [Morphism] | |
ToJSON Morphism | |
Defined in OMDoc.ATC_OMDoc toEncoding :: Morphism -> Encoding toJSONList :: [Morphism] -> Value toEncodingList :: [Morphism] -> Encoding | |
ShATermConvertible Morphism | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> Morphism -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Morphism] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Morphism) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Morphism]) | |
Pretty Morphism Source # | |
type Rep Morphism | |
Defined in OMDoc.ATC_OMDoc type Rep Morphism = D1 ('MetaData "Morphism" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "Morphism" 'PrefixI 'True) ((S1 ('MetaSel ('Just "morphismId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe XmlId)) :*: S1 ('MetaSel ('Just "morphismHiding") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [XmlId])) :*: (S1 ('MetaSel ('Just "morphismBase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [XmlId]) :*: S1 ('MetaSel ('Just "morphismRequations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(MText, MText)])))) |
MTextText String | |
MTextTerm String | |
MTextPhrase String | |
MTextOM OMObject |
Instances
Eq MText Source # | |
Data MText Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MText -> c MText gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MText dataTypeOf :: MText -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MText) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MText) gmapT :: (forall b. Data b => b -> b) -> MText -> MText gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MText -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MText -> r gmapQ :: (forall d. Data d => d -> u) -> MText -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> MText -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> MText -> m MText gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MText -> m MText gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MText -> m MText | |
Ord MText Source # | |
Show MText Source # | |
Generic MText | |
FromJSON MText | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser MText parseJSONList :: Value -> Parser [MText] | |
ToJSON MText | |
Defined in OMDoc.ATC_OMDoc | |
ShATermConvertible MText | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> MText -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [MText] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, MText) fromShATermList' :: Int -> ATermTable -> (ATermTable, [MText]) | |
type Rep MText | |
Defined in OMDoc.ATC_OMDoc type Rep MText = D1 ('MetaData "MText" "OMDoc.OMDocInterface" "main" 'False) ((C1 ('MetaCons "MTextText" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :+: C1 ('MetaCons "MTextTerm" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))) :+: (C1 ('MetaCons "MTextPhrase" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :+: C1 ('MetaCons "MTextOM" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OMObject)))) |
data OMDocMathObject Source #
Instances
Eq OMDocMathObject Source # | |
Defined in OMDoc.OMDocInterface (==) :: OMDocMathObject -> OMDocMathObject -> Bool (/=) :: OMDocMathObject -> OMDocMathObject -> Bool | |
Data OMDocMathObject Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OMDocMathObject -> c OMDocMathObject gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OMDocMathObject toConstr :: OMDocMathObject -> Constr dataTypeOf :: OMDocMathObject -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OMDocMathObject) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OMDocMathObject) gmapT :: (forall b. Data b => b -> b) -> OMDocMathObject -> OMDocMathObject gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OMDocMathObject -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OMDocMathObject -> r gmapQ :: (forall d. Data d => d -> u) -> OMDocMathObject -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> OMDocMathObject -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> OMDocMathObject -> m OMDocMathObject gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OMDocMathObject -> m OMDocMathObject gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OMDocMathObject -> m OMDocMathObject | |
Ord OMDocMathObject Source # | |
Defined in OMDoc.OMDocInterface compare :: OMDocMathObject -> OMDocMathObject -> Ordering (<) :: OMDocMathObject -> OMDocMathObject -> Bool (<=) :: OMDocMathObject -> OMDocMathObject -> Bool (>) :: OMDocMathObject -> OMDocMathObject -> Bool (>=) :: OMDocMathObject -> OMDocMathObject -> Bool max :: OMDocMathObject -> OMDocMathObject -> OMDocMathObject min :: OMDocMathObject -> OMDocMathObject -> OMDocMathObject | |
Show OMDocMathObject Source # | |
Defined in OMDoc.OMDocInterface showsPrec :: Int -> OMDocMathObject -> ShowS show :: OMDocMathObject -> String showList :: [OMDocMathObject] -> ShowS | |
Generic OMDocMathObject | |
Defined in OMDoc.ATC_OMDoc type Rep OMDocMathObject :: Type -> Type from :: OMDocMathObject -> Rep OMDocMathObject x to :: Rep OMDocMathObject x -> OMDocMathObject | |
FromJSON OMDocMathObject | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser OMDocMathObject parseJSONList :: Value -> Parser [OMDocMathObject] | |
ToJSON OMDocMathObject | |
Defined in OMDoc.ATC_OMDoc toJSON :: OMDocMathObject -> Value toEncoding :: OMDocMathObject -> Encoding toJSONList :: [OMDocMathObject] -> Value toEncodingList :: [OMDocMathObject] -> Encoding | |
ShATermConvertible OMDocMathObject | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> OMDocMathObject -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OMDocMathObject] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OMDocMathObject) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OMDocMathObject]) | |
type Rep OMDocMathObject | |
Defined in OMDoc.ATC_OMDoc type Rep OMDocMathObject = D1 ('MetaData "OMDocMathObject" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "OMOMOBJ" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OMObject)) :+: (C1 ('MetaCons "OMLegacy" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :+: C1 ('MetaCons "OMMath" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)))) |
OMOBJ
Instances
Eq OMObject Source # | |
Data OMObject Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OMObject -> c OMObject gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OMObject toConstr :: OMObject -> Constr dataTypeOf :: OMObject -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OMObject) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OMObject) gmapT :: (forall b. Data b => b -> b) -> OMObject -> OMObject gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OMObject -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OMObject -> r gmapQ :: (forall d. Data d => d -> u) -> OMObject -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> OMObject -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> OMObject -> m OMObject gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OMObject -> m OMObject gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OMObject -> m OMObject | |
Ord OMObject Source # | |
Show OMObject Source # | |
Generic OMObject | |
FromJSON OMObject | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser OMObject parseJSONList :: Value -> Parser [OMObject] | |
ToJSON OMObject | |
Defined in OMDoc.ATC_OMDoc toEncoding :: OMObject -> Encoding toJSONList :: [OMObject] -> Value toEncodingList :: [OMObject] -> Encoding | |
ShATermConvertible OMObject | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> OMObject -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OMObject] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OMObject) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OMObject]) | |
type Rep OMObject | |
Defined in OMDoc.ATC_OMDoc |
mkOMOBJ :: OMElementClass e => e -> OMObject Source #
OMS
Instances
Eq OMSymbol Source # | |
Data OMSymbol Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OMSymbol -> c OMSymbol gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OMSymbol toConstr :: OMSymbol -> Constr dataTypeOf :: OMSymbol -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OMSymbol) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OMSymbol) gmapT :: (forall b. Data b => b -> b) -> OMSymbol -> OMSymbol gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OMSymbol -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OMSymbol -> r gmapQ :: (forall d. Data d => d -> u) -> OMSymbol -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> OMSymbol -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> OMSymbol -> m OMSymbol gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OMSymbol -> m OMSymbol gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OMSymbol -> m OMSymbol | |
Ord OMSymbol Source # | |
Show OMSymbol Source # | |
Generic OMSymbol | |
FromJSON OMSymbol | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser OMSymbol parseJSONList :: Value -> Parser [OMSymbol] | |
ToJSON OMSymbol | |
Defined in OMDoc.ATC_OMDoc toEncoding :: OMSymbol -> Encoding toJSONList :: [OMSymbol] -> Value toEncodingList :: [OMSymbol] -> Encoding | |
ShATermConvertible OMSymbol | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> OMSymbol -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OMSymbol] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OMSymbol) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OMSymbol]) | |
OMElementClass OMSymbol Source # | |
type Rep OMSymbol | |
Defined in OMDoc.ATC_OMDoc type Rep OMSymbol = D1 ('MetaData "OMSymbol" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "OMS" 'PrefixI 'True) (S1 ('MetaSel ('Just "omsCDBase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe OMDocRef)) :*: (S1 ('MetaSel ('Just "omsCD") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 XmlId) :*: S1 ('MetaSel ('Just "omsName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 XmlId)))) |
OMI
Instances
Eq OMInteger Source # | |
Data OMInteger Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OMInteger -> c OMInteger gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OMInteger toConstr :: OMInteger -> Constr dataTypeOf :: OMInteger -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OMInteger) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OMInteger) gmapT :: (forall b. Data b => b -> b) -> OMInteger -> OMInteger gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OMInteger -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OMInteger -> r gmapQ :: (forall d. Data d => d -> u) -> OMInteger -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> OMInteger -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> OMInteger -> m OMInteger gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OMInteger -> m OMInteger gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OMInteger -> m OMInteger | |
Ord OMInteger Source # | |
Defined in OMDoc.OMDocInterface | |
Show OMInteger Source # | |
Generic OMInteger | |
FromJSON OMInteger | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser OMInteger parseJSONList :: Value -> Parser [OMInteger] | |
ToJSON OMInteger | |
Defined in OMDoc.ATC_OMDoc toEncoding :: OMInteger -> Encoding toJSONList :: [OMInteger] -> Value toEncodingList :: [OMInteger] -> Encoding | |
ShATermConvertible OMInteger | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> OMInteger -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OMInteger] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OMInteger) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OMInteger]) | |
OMElementClass OMInteger Source # | |
type Rep OMInteger | |
Defined in OMDoc.ATC_OMDoc type Rep OMInteger = D1 ('MetaData "OMInteger" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "OMI" 'PrefixI 'True) (S1 ('MetaSel ('Just "omiInt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) |
data OMVariable Source #
A Variable can be a OMV or an OMATTR
Instances
Eq OMVariable Source # | |
Defined in OMDoc.OMDocInterface (==) :: OMVariable -> OMVariable -> Bool (/=) :: OMVariable -> OMVariable -> Bool | |
Data OMVariable Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OMVariable -> c OMVariable gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OMVariable toConstr :: OMVariable -> Constr dataTypeOf :: OMVariable -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OMVariable) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OMVariable) gmapT :: (forall b. Data b => b -> b) -> OMVariable -> OMVariable gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OMVariable -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OMVariable -> r gmapQ :: (forall d. Data d => d -> u) -> OMVariable -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> OMVariable -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> OMVariable -> m OMVariable gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OMVariable -> m OMVariable gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OMVariable -> m OMVariable | |
Ord OMVariable Source # | |
Defined in OMDoc.OMDocInterface compare :: OMVariable -> OMVariable -> Ordering (<) :: OMVariable -> OMVariable -> Bool (<=) :: OMVariable -> OMVariable -> Bool (>) :: OMVariable -> OMVariable -> Bool (>=) :: OMVariable -> OMVariable -> Bool max :: OMVariable -> OMVariable -> OMVariable min :: OMVariable -> OMVariable -> OMVariable | |
Show OMVariable Source # | |
Defined in OMDoc.OMDocInterface showsPrec :: Int -> OMVariable -> ShowS show :: OMVariable -> String showList :: [OMVariable] -> ShowS | |
Generic OMVariable | |
Defined in OMDoc.ATC_OMDoc type Rep OMVariable :: Type -> Type from :: OMVariable -> Rep OMVariable x to :: Rep OMVariable x -> OMVariable | |
FromJSON OMVariable | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser OMVariable parseJSONList :: Value -> Parser [OMVariable] | |
ToJSON OMVariable | |
Defined in OMDoc.ATC_OMDoc toJSON :: OMVariable -> Value toEncoding :: OMVariable -> Encoding toJSONList :: [OMVariable] -> Value toEncodingList :: [OMVariable] -> Encoding | |
ShATermConvertible OMVariable | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> OMVariable -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OMVariable] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OMVariable) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OMVariable]) | |
OMElementClass OMVariable Source # | |
Defined in OMDoc.OMDocInterface toElement :: OMVariable -> OMElement Source # fromElement :: OMElement -> Maybe OMVariable Source # | |
OMVariableClass OMVariable Source # | |
Defined in OMDoc.OMDocInterface toVariable :: OMVariable -> OMVariable Source # fromVariable :: OMVariable -> Maybe OMVariable Source # | |
type Rep OMVariable | |
Defined in OMDoc.ATC_OMDoc type Rep OMVariable = D1 ('MetaData "OMVariable" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "OMVS" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OMSimpleVariable)) :+: C1 ('MetaCons "OMVA" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OMAttribution))) |
class OMVariableClass a where Source #
Class to use something as a Variable
toVariable :: a -> OMVariable Source #
fromVariable :: OMVariable -> Maybe a Source #
Instances
OMVariableClass OMAttribution Source # | |
Defined in OMDoc.OMDocInterface toVariable :: OMAttribution -> OMVariable Source # fromVariable :: OMVariable -> Maybe OMAttribution Source # | |
OMVariableClass OMSimpleVariable Source # | |
Defined in OMDoc.OMDocInterface toVariable :: OMSimpleVariable -> OMVariable Source # fromVariable :: OMVariable -> Maybe OMSimpleVariable Source # | |
OMVariableClass OMVariable Source # | |
Defined in OMDoc.OMDocInterface toVariable :: OMVariable -> OMVariable Source # fromVariable :: OMVariable -> Maybe OMVariable Source # |
mkOMVar :: Either OMSimpleVariable OMAttribution -> OMVariable Source #
mkOMVarE :: Either OMSimpleVariable OMAttribution -> OMElement Source #
data OMSimpleVariable Source #
OMV
Instances
mkOMSimpleVarE :: XmlString -> OMElement Source #
mkOMVSVar :: XmlString -> OMVariable Source #
mkOMVSVarE :: XmlString -> OMElement Source #
data OMAttribution Source #
OMATTR
Instances
Eq OMAttribution Source # | |
Defined in OMDoc.OMDocInterface (==) :: OMAttribution -> OMAttribution -> Bool (/=) :: OMAttribution -> OMAttribution -> Bool | |
Data OMAttribution Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OMAttribution -> c OMAttribution gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OMAttribution toConstr :: OMAttribution -> Constr dataTypeOf :: OMAttribution -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OMAttribution) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OMAttribution) gmapT :: (forall b. Data b => b -> b) -> OMAttribution -> OMAttribution gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OMAttribution -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OMAttribution -> r gmapQ :: (forall d. Data d => d -> u) -> OMAttribution -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> OMAttribution -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> OMAttribution -> m OMAttribution gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OMAttribution -> m OMAttribution gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OMAttribution -> m OMAttribution | |
Ord OMAttribution Source # | |
Defined in OMDoc.OMDocInterface compare :: OMAttribution -> OMAttribution -> Ordering (<) :: OMAttribution -> OMAttribution -> Bool (<=) :: OMAttribution -> OMAttribution -> Bool (>) :: OMAttribution -> OMAttribution -> Bool (>=) :: OMAttribution -> OMAttribution -> Bool max :: OMAttribution -> OMAttribution -> OMAttribution min :: OMAttribution -> OMAttribution -> OMAttribution | |
Show OMAttribution Source # | |
Defined in OMDoc.OMDocInterface showsPrec :: Int -> OMAttribution -> ShowS show :: OMAttribution -> String showList :: [OMAttribution] -> ShowS | |
Generic OMAttribution | |
Defined in OMDoc.ATC_OMDoc type Rep OMAttribution :: Type -> Type from :: OMAttribution -> Rep OMAttribution x to :: Rep OMAttribution x -> OMAttribution | |
FromJSON OMAttribution | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser OMAttribution parseJSONList :: Value -> Parser [OMAttribution] | |
ToJSON OMAttribution | |
Defined in OMDoc.ATC_OMDoc toJSON :: OMAttribution -> Value toEncoding :: OMAttribution -> Encoding toJSONList :: [OMAttribution] -> Value toEncodingList :: [OMAttribution] -> Encoding | |
ShATermConvertible OMAttribution | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> OMAttribution -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OMAttribution] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OMAttribution) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OMAttribution]) | |
OMElementClass OMAttribution Source # | |
Defined in OMDoc.OMDocInterface toElement :: OMAttribution -> OMElement Source # fromElement :: OMElement -> Maybe OMAttribution Source # | |
OMVariableClass OMAttribution Source # | |
Defined in OMDoc.OMDocInterface toVariable :: OMAttribution -> OMVariable Source # fromVariable :: OMVariable -> Maybe OMAttribution Source # | |
type Rep OMAttribution | |
Defined in OMDoc.ATC_OMDoc type Rep OMAttribution = D1 ('MetaData "OMAttribution" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "OMATTR" 'PrefixI 'True) (S1 ('MetaSel ('Just "omattrATP") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OMAttributionPart) :*: S1 ('MetaSel ('Just "omattrElem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OMElement))) |
mkOMATTR :: OMElementClass e => OMAttributionPart -> e -> OMAttribution Source #
mkOMATTRE :: OMElementClass e => OMAttributionPart -> e -> OMElement Source #
data OMAttributionPart Source #
OMATP
OMATP | |
|
Instances
Eq OMAttributionPart Source # | |
Defined in OMDoc.OMDocInterface (==) :: OMAttributionPart -> OMAttributionPart -> Bool (/=) :: OMAttributionPart -> OMAttributionPart -> Bool | |
Data OMAttributionPart Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OMAttributionPart -> c OMAttributionPart gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OMAttributionPart toConstr :: OMAttributionPart -> Constr dataTypeOf :: OMAttributionPart -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OMAttributionPart) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OMAttributionPart) gmapT :: (forall b. Data b => b -> b) -> OMAttributionPart -> OMAttributionPart gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OMAttributionPart -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OMAttributionPart -> r gmapQ :: (forall d. Data d => d -> u) -> OMAttributionPart -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> OMAttributionPart -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> OMAttributionPart -> m OMAttributionPart gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OMAttributionPart -> m OMAttributionPart gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OMAttributionPart -> m OMAttributionPart | |
Ord OMAttributionPart Source # | |
Defined in OMDoc.OMDocInterface compare :: OMAttributionPart -> OMAttributionPart -> Ordering (<) :: OMAttributionPart -> OMAttributionPart -> Bool (<=) :: OMAttributionPart -> OMAttributionPart -> Bool (>) :: OMAttributionPart -> OMAttributionPart -> Bool (>=) :: OMAttributionPart -> OMAttributionPart -> Bool max :: OMAttributionPart -> OMAttributionPart -> OMAttributionPart min :: OMAttributionPart -> OMAttributionPart -> OMAttributionPart | |
Show OMAttributionPart Source # | |
Defined in OMDoc.OMDocInterface showsPrec :: Int -> OMAttributionPart -> ShowS show :: OMAttributionPart -> String showList :: [OMAttributionPart] -> ShowS | |
Generic OMAttributionPart | |
Defined in OMDoc.ATC_OMDoc type Rep OMAttributionPart :: Type -> Type from :: OMAttributionPart -> Rep OMAttributionPart x to :: Rep OMAttributionPart x -> OMAttributionPart | |
FromJSON OMAttributionPart | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser OMAttributionPart parseJSONList :: Value -> Parser [OMAttributionPart] | |
ToJSON OMAttributionPart | |
Defined in OMDoc.ATC_OMDoc toJSON :: OMAttributionPart -> Value toEncoding :: OMAttributionPart -> Encoding toJSONList :: [OMAttributionPart] -> Value toEncodingList :: [OMAttributionPart] -> Encoding | |
ShATermConvertible OMAttributionPart | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> OMAttributionPart -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OMAttributionPart] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OMAttributionPart) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OMAttributionPart]) | |
type Rep OMAttributionPart | |
Defined in OMDoc.ATC_OMDoc type Rep OMAttributionPart = D1 ('MetaData "OMAttributionPart" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "OMATP" 'PrefixI 'True) (S1 ('MetaSel ('Just "omatpAttribs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(OMSymbol, OMElement)]))) |
mkOMATP :: OMElementClass e => [(OMSymbol, e)] -> OMAttributionPart Source #
data OMBindingVariables Source #
OMBVAR
OMBVAR | |
|
Instances
Eq OMBindingVariables Source # | |
Defined in OMDoc.OMDocInterface (==) :: OMBindingVariables -> OMBindingVariables -> Bool (/=) :: OMBindingVariables -> OMBindingVariables -> Bool | |
Data OMBindingVariables Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OMBindingVariables -> c OMBindingVariables gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OMBindingVariables toConstr :: OMBindingVariables -> Constr dataTypeOf :: OMBindingVariables -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OMBindingVariables) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OMBindingVariables) gmapT :: (forall b. Data b => b -> b) -> OMBindingVariables -> OMBindingVariables gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OMBindingVariables -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OMBindingVariables -> r gmapQ :: (forall d. Data d => d -> u) -> OMBindingVariables -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> OMBindingVariables -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> OMBindingVariables -> m OMBindingVariables gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OMBindingVariables -> m OMBindingVariables gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OMBindingVariables -> m OMBindingVariables | |
Ord OMBindingVariables Source # | |
Defined in OMDoc.OMDocInterface compare :: OMBindingVariables -> OMBindingVariables -> Ordering (<) :: OMBindingVariables -> OMBindingVariables -> Bool (<=) :: OMBindingVariables -> OMBindingVariables -> Bool (>) :: OMBindingVariables -> OMBindingVariables -> Bool (>=) :: OMBindingVariables -> OMBindingVariables -> Bool max :: OMBindingVariables -> OMBindingVariables -> OMBindingVariables min :: OMBindingVariables -> OMBindingVariables -> OMBindingVariables | |
Show OMBindingVariables Source # | |
Defined in OMDoc.OMDocInterface showsPrec :: Int -> OMBindingVariables -> ShowS show :: OMBindingVariables -> String showList :: [OMBindingVariables] -> ShowS | |
Generic OMBindingVariables | |
Defined in OMDoc.ATC_OMDoc type Rep OMBindingVariables :: Type -> Type from :: OMBindingVariables -> Rep OMBindingVariables x to :: Rep OMBindingVariables x -> OMBindingVariables | |
FromJSON OMBindingVariables | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser OMBindingVariables parseJSONList :: Value -> Parser [OMBindingVariables] | |
ToJSON OMBindingVariables | |
Defined in OMDoc.ATC_OMDoc toJSON :: OMBindingVariables -> Value toEncoding :: OMBindingVariables -> Encoding toJSONList :: [OMBindingVariables] -> Value toEncodingList :: [OMBindingVariables] -> Encoding | |
ShATermConvertible OMBindingVariables | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> OMBindingVariables -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OMBindingVariables] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OMBindingVariables) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OMBindingVariables]) | |
type Rep OMBindingVariables | |
Defined in OMDoc.ATC_OMDoc type Rep OMBindingVariables = D1 ('MetaData "OMBindingVariables" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "OMBVAR" 'PrefixI 'True) (S1 ('MetaSel ('Just "ombvarVars") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [OMVariable]))) |
mkOMBVAR :: OMVariableClass e => [e] -> OMBindingVariables Source #
OMB is actually just a bytearray for storing data. [Char] representation is forced by export from Codec.Base64
OMB | |
|
Instances
Eq OMBase64 Source # | |
Data OMBase64 Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OMBase64 -> c OMBase64 gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OMBase64 toConstr :: OMBase64 -> Constr dataTypeOf :: OMBase64 -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OMBase64) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OMBase64) gmapT :: (forall b. Data b => b -> b) -> OMBase64 -> OMBase64 gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OMBase64 -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OMBase64 -> r gmapQ :: (forall d. Data d => d -> u) -> OMBase64 -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> OMBase64 -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> OMBase64 -> m OMBase64 gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OMBase64 -> m OMBase64 gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OMBase64 -> m OMBase64 | |
Ord OMBase64 Source # | |
Show OMBase64 Source # | |
Generic OMBase64 | |
FromJSON OMBase64 | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser OMBase64 parseJSONList :: Value -> Parser [OMBase64] | |
ToJSON OMBase64 | |
Defined in OMDoc.ATC_OMDoc toEncoding :: OMBase64 -> Encoding toJSONList :: [OMBase64] -> Value toEncodingList :: [OMBase64] -> Encoding | |
ShATermConvertible OMBase64 | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> OMBase64 -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OMBase64] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OMBase64) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OMBase64]) | |
OMElementClass OMBase64 Source # | |
type Rep OMBase64 | |
Defined in OMDoc.ATC_OMDoc type Rep OMBase64 = D1 ('MetaData "OMBase64" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "OMB" 'PrefixI 'True) (S1 ('MetaSel ('Just "ombContent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Word8]))) |
mkOMBWords :: [Word8] -> OMBase64 Source #
mkOMBWordsE :: [Word8] -> OMElement Source #
getOMBWords :: OMBase64 -> [Word8] Source #
OMSTR
Instances
Eq OMString Source # | |
Data OMString Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OMString -> c OMString gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OMString toConstr :: OMString -> Constr dataTypeOf :: OMString -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OMString) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OMString) gmapT :: (forall b. Data b => b -> b) -> OMString -> OMString gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OMString -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OMString -> r gmapQ :: (forall d. Data d => d -> u) -> OMString -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> OMString -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> OMString -> m OMString gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OMString -> m OMString gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OMString -> m OMString | |
Ord OMString Source # | |
Show OMString Source # | |
Generic OMString | |
FromJSON OMString | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser OMString parseJSONList :: Value -> Parser [OMString] | |
ToJSON OMString | |
Defined in OMDoc.ATC_OMDoc toEncoding :: OMString -> Encoding toJSONList :: [OMString] -> Value toEncodingList :: [OMString] -> Encoding | |
ShATermConvertible OMString | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> OMString -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OMString] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OMString) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OMString]) | |
OMElementClass OMString Source # | |
type Rep OMString | |
Defined in OMDoc.ATC_OMDoc type Rep OMString = D1 ('MetaData "OMString" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "OMSTR" 'PrefixI 'True) (S1 ('MetaSel ('Just "omstrText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))) |
OMF
Instances
Eq OMFloat Source # | |
Data OMFloat Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OMFloat -> c OMFloat gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OMFloat dataTypeOf :: OMFloat -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OMFloat) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OMFloat) gmapT :: (forall b. Data b => b -> b) -> OMFloat -> OMFloat gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OMFloat -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OMFloat -> r gmapQ :: (forall d. Data d => d -> u) -> OMFloat -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> OMFloat -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> OMFloat -> m OMFloat gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OMFloat -> m OMFloat gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OMFloat -> m OMFloat | |
Ord OMFloat Source # | |
Show OMFloat Source # | |
Generic OMFloat | |
FromJSON OMFloat | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser OMFloat parseJSONList :: Value -> Parser [OMFloat] | |
ToJSON OMFloat | |
Defined in OMDoc.ATC_OMDoc toEncoding :: OMFloat -> Encoding toJSONList :: [OMFloat] -> Value toEncodingList :: [OMFloat] -> Encoding | |
ShATermConvertible OMFloat | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> OMFloat -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OMFloat] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OMFloat) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OMFloat]) | |
OMElementClass OMFloat Source # | |
type Rep OMFloat | |
Defined in OMDoc.ATC_OMDoc type Rep OMFloat = D1 ('MetaData "OMFloat" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "OMF" 'PrefixI 'True) (S1 ('MetaSel ('Just "omfFloat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Float))) |
OMA
OMA | |
|
Instances
Eq OMApply Source # | |
Data OMApply Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OMApply -> c OMApply gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OMApply dataTypeOf :: OMApply -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OMApply) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OMApply) gmapT :: (forall b. Data b => b -> b) -> OMApply -> OMApply gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OMApply -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OMApply -> r gmapQ :: (forall d. Data d => d -> u) -> OMApply -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> OMApply -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> OMApply -> m OMApply gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OMApply -> m OMApply gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OMApply -> m OMApply | |
Ord OMApply Source # | |
Show OMApply Source # | |
Generic OMApply | |
FromJSON OMApply | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser OMApply parseJSONList :: Value -> Parser [OMApply] | |
ToJSON OMApply | |
Defined in OMDoc.ATC_OMDoc toEncoding :: OMApply -> Encoding toJSONList :: [OMApply] -> Value toEncodingList :: [OMApply] -> Encoding | |
ShATermConvertible OMApply | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> OMApply -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OMApply] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OMApply) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OMApply]) | |
OMElementClass OMApply Source # | |
type Rep OMApply | |
Defined in OMDoc.ATC_OMDoc |
mkOMA :: OMElementClass e => [e] -> OMApply Source #
mkOMAE :: OMElementClass e => [e] -> OMElement Source #
OME
Instances
Eq OMError Source # | |
Data OMError Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OMError -> c OMError gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OMError dataTypeOf :: OMError -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OMError) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OMError) gmapT :: (forall b. Data b => b -> b) -> OMError -> OMError gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OMError -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OMError -> r gmapQ :: (forall d. Data d => d -> u) -> OMError -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> OMError -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> OMError -> m OMError gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OMError -> m OMError gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OMError -> m OMError | |
Ord OMError Source # | |
Show OMError Source # | |
Generic OMError | |
FromJSON OMError | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser OMError parseJSONList :: Value -> Parser [OMError] | |
ToJSON OMError | |
Defined in OMDoc.ATC_OMDoc toEncoding :: OMError -> Encoding toJSONList :: [OMError] -> Value toEncodingList :: [OMError] -> Encoding | |
ShATermConvertible OMError | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> OMError -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OMError] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OMError) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OMError]) | |
OMElementClass OMError Source # | |
type Rep OMError | |
Defined in OMDoc.ATC_OMDoc type Rep OMError = D1 ('MetaData "OMError" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "OME" 'PrefixI 'True) (S1 ('MetaSel ('Just "omeSymbol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OMSymbol) :*: S1 ('MetaSel ('Just "omeExtra") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [OMElement]))) |
data OMReference Source #
OMR
Instances
Eq OMReference Source # | |
Defined in OMDoc.OMDocInterface (==) :: OMReference -> OMReference -> Bool (/=) :: OMReference -> OMReference -> Bool | |
Data OMReference Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OMReference -> c OMReference gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OMReference toConstr :: OMReference -> Constr dataTypeOf :: OMReference -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OMReference) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OMReference) gmapT :: (forall b. Data b => b -> b) -> OMReference -> OMReference gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OMReference -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OMReference -> r gmapQ :: (forall d. Data d => d -> u) -> OMReference -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> OMReference -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> OMReference -> m OMReference gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OMReference -> m OMReference gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OMReference -> m OMReference | |
Ord OMReference Source # | |
Defined in OMDoc.OMDocInterface compare :: OMReference -> OMReference -> Ordering (<) :: OMReference -> OMReference -> Bool (<=) :: OMReference -> OMReference -> Bool (>) :: OMReference -> OMReference -> Bool (>=) :: OMReference -> OMReference -> Bool max :: OMReference -> OMReference -> OMReference min :: OMReference -> OMReference -> OMReference | |
Show OMReference Source # | |
Defined in OMDoc.OMDocInterface showsPrec :: Int -> OMReference -> ShowS show :: OMReference -> String showList :: [OMReference] -> ShowS | |
Generic OMReference | |
Defined in OMDoc.ATC_OMDoc type Rep OMReference :: Type -> Type from :: OMReference -> Rep OMReference x to :: Rep OMReference x -> OMReference | |
FromJSON OMReference | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser OMReference parseJSONList :: Value -> Parser [OMReference] | |
ToJSON OMReference | |
Defined in OMDoc.ATC_OMDoc toJSON :: OMReference -> Value toEncoding :: OMReference -> Encoding toJSONList :: [OMReference] -> Value toEncodingList :: [OMReference] -> Encoding | |
ShATermConvertible OMReference | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> OMReference -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OMReference] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OMReference) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OMReference]) | |
OMElementClass OMReference Source # | |
Defined in OMDoc.OMDocInterface toElement :: OMReference -> OMElement Source # fromElement :: OMElement -> Maybe OMReference Source # | |
type Rep OMReference | |
Defined in OMDoc.ATC_OMDoc type Rep OMReference = D1 ('MetaData "OMReference" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "OMR" 'PrefixI 'True) (S1 ('MetaSel ('Just "omrHRef") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IRI))) |
mkOMR :: IRI -> OMReference Source #
OMB
Instances
Eq OMBind Source # | |
Data OMBind Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OMBind -> c OMBind gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OMBind dataTypeOf :: OMBind -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OMBind) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OMBind) gmapT :: (forall b. Data b => b -> b) -> OMBind -> OMBind gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OMBind -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OMBind -> r gmapQ :: (forall d. Data d => d -> u) -> OMBind -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> OMBind -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> OMBind -> m OMBind gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OMBind -> m OMBind gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OMBind -> m OMBind | |
Ord OMBind Source # | |
Show OMBind Source # | |
Generic OMBind | |
FromJSON OMBind | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser OMBind parseJSONList :: Value -> Parser [OMBind] | |
ToJSON OMBind | |
Defined in OMDoc.ATC_OMDoc toEncoding :: OMBind -> Encoding toJSONList :: [OMBind] -> Value toEncodingList :: [OMBind] -> Encoding | |
ShATermConvertible OMBind | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> OMBind -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OMBind] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OMBind) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OMBind]) | |
OMElementClass OMBind Source # | |
type Rep OMBind | |
Defined in OMDoc.ATC_OMDoc type Rep OMBind = D1 ('MetaData "OMBind" "OMDoc.OMDocInterface" "main" 'False) (C1 ('MetaCons "OMBIND" 'PrefixI 'True) (S1 ('MetaSel ('Just "ombindBinder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OMElement) :*: (S1 ('MetaSel ('Just "ombindVariables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OMBindingVariables) :*: S1 ('MetaSel ('Just "ombindExpression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OMElement)))) |
mkOMBIND :: (OMElementClass e1, OMElementClass e2) => e1 -> OMBindingVariables -> e2 -> OMBind Source #
mkOMBINDE :: (OMElementClass e1, OMElementClass e2) => e1 -> OMBindingVariables -> e2 -> OMElement Source #
Elements for Open Math
Instances
Eq OMElement Source # | |
Data OMElement Source # | |
Defined in OMDoc.OMDocInterface gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OMElement -> c OMElement gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OMElement toConstr :: OMElement -> Constr dataTypeOf :: OMElement -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OMElement) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OMElement) gmapT :: (forall b. Data b => b -> b) -> OMElement -> OMElement gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OMElement -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OMElement -> r gmapQ :: (forall d. Data d => d -> u) -> OMElement -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> OMElement -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> OMElement -> m OMElement gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OMElement -> m OMElement gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OMElement -> m OMElement | |
Ord OMElement Source # | |
Defined in OMDoc.OMDocInterface | |
Show OMElement Source # | |
Generic OMElement | |
FromJSON OMElement | |
Defined in OMDoc.ATC_OMDoc parseJSON :: Value -> Parser OMElement parseJSONList :: Value -> Parser [OMElement] | |
ToJSON OMElement | |
Defined in OMDoc.ATC_OMDoc toEncoding :: OMElement -> Encoding toJSONList :: [OMElement] -> Value toEncodingList :: [OMElement] -> Encoding | |
ShATermConvertible OMElement | |
Defined in OMDoc.ATC_OMDoc toShATermAux :: ATermTable -> OMElement -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OMElement] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OMElement) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OMElement]) | |
OMElementClass OMElement Source # | |
type Rep OMElement | |
Defined in OMDoc.ATC_OMDoc type Rep OMElement = D1 ('MetaData "OMElement" "OMDoc.OMDocInterface" "main" 'False) (((C1 ('MetaCons "OMES" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OMSymbol)) :+: (C1 ('MetaCons "OMEV" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OMSimpleVariable)) :+: C1 ('MetaCons "OMEI" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OMInteger)))) :+: (C1 ('MetaCons "OMEB" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OMBase64)) :+: (C1 ('MetaCons "OMESTR" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OMString)) :+: C1 ('MetaCons "OMEF" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OMFloat))))) :+: ((C1 ('MetaCons "OMEA" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OMApply)) :+: (C1 ('MetaCons "OMEBIND" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OMBind)) :+: C1 ('MetaCons "OMEE" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OMError)))) :+: (C1 ('MetaCons "OMEATTR" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OMAttribution)) :+: (C1 ('MetaCons "OMER" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OMReference)) :+: C1 ('MetaCons "OMEC" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe OMElement)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)))))) |
mkOMComment :: String -> OMElement Source #
insert a comment into an open-math structure (use with caution...)
mkOMCommented :: OMElementClass e => String -> e -> OMElement Source #
class OMElementClass a where Source #
Class of Elements for Open Math
Instances
OMElementClass OMElement Source # | |
OMElementClass OMBind Source # | |
OMElementClass OMReference Source # | |
Defined in OMDoc.OMDocInterface toElement :: OMReference -> OMElement Source # fromElement :: OMElement -> Maybe OMReference Source # | |
OMElementClass OMError Source # | |
OMElementClass OMApply Source # | |
OMElementClass OMFloat Source # | |
OMElementClass OMString Source # | |
OMElementClass OMBase64 Source # | |
OMElementClass OMAttribution Source # | |
Defined in OMDoc.OMDocInterface toElement :: OMAttribution -> OMElement Source # fromElement :: OMElement -> Maybe OMAttribution Source # | |
OMElementClass OMSimpleVariable Source # | |
Defined in OMDoc.OMDocInterface toElement :: OMSimpleVariable -> OMElement Source # fromElement :: OMElement -> Maybe OMSimpleVariable Source # | |
OMElementClass OMVariable Source # | |
Defined in OMDoc.OMDocInterface toElement :: OMVariable -> OMElement Source # fromElement :: OMElement -> Maybe OMVariable Source # | |
OMElementClass OMInteger Source # | |
OMElementClass OMSymbol Source # | |