Copyright | (c) DFKI GmbH 2012 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | Christian.Maeder@dfki.de |
Stability | provisional |
Portability | non-portable(derive Typeable instances) |
Safe Haskell | None |
Automatic derivation of instances via DrIFT-rule ShATermConvertible, Json
for the type(s):
BASIC_SPEC
BASIC_ITEMS
TEXT_META
TEXT
PHRASE
COMMENT
MODULE
IMPORTATION
SENTENCE
QUANT
BOOL_SENT
AndOr
ImplEq
ATOM
TERM
TERM_SEQ
NAME_OR_SEQMARK
SYMB_MAP_ITEMS
SYMB_OR_MAP
SYMB_ITEMS
Sign
Symbol
Morphism
CLTextType
CommonLogicSL
Orphan instances
Generic SYMB_ITEMS Source # | |
type Rep SYMB_ITEMS :: Type -> Type from :: SYMB_ITEMS -> Rep SYMB_ITEMS x to :: Rep SYMB_ITEMS x -> SYMB_ITEMS | |
Generic SYMB_OR_MAP Source # | |
type Rep SYMB_OR_MAP :: Type -> Type from :: SYMB_OR_MAP -> Rep SYMB_OR_MAP x to :: Rep SYMB_OR_MAP x -> SYMB_OR_MAP | |
Generic SYMB_MAP_ITEMS Source # | |
type Rep SYMB_MAP_ITEMS :: Type -> Type from :: SYMB_MAP_ITEMS -> Rep SYMB_MAP_ITEMS x to :: Rep SYMB_MAP_ITEMS x -> SYMB_MAP_ITEMS | |
Generic NAME_OR_SEQMARK Source # | |
type Rep NAME_OR_SEQMARK :: Type -> Type from :: NAME_OR_SEQMARK -> Rep NAME_OR_SEQMARK x to :: Rep NAME_OR_SEQMARK x -> NAME_OR_SEQMARK | |
Generic TERM_SEQ Source # | |
Generic TERM Source # | |
Generic ATOM Source # | |
Generic ImplEq Source # | |
Generic AndOr Source # | |
Generic BOOL_SENT Source # | |
Generic QUANT Source # | |
Generic SENTENCE Source # | |
Generic IMPORTATION Source # | |
type Rep IMPORTATION :: Type -> Type from :: IMPORTATION -> Rep IMPORTATION x to :: Rep IMPORTATION x -> IMPORTATION | |
Generic MODULE Source # | |
Generic COMMENT Source # | |
Generic PHRASE Source # | |
Generic TEXT Source # | |
Generic TEXT_META Source # | |
Generic BASIC_ITEMS Source # | |
type Rep BASIC_ITEMS :: Type -> Type from :: BASIC_ITEMS -> Rep BASIC_ITEMS x to :: Rep BASIC_ITEMS x -> BASIC_ITEMS | |
Generic BASIC_SPEC Source # | |
type Rep BASIC_SPEC :: Type -> Type from :: BASIC_SPEC -> Rep BASIC_SPEC x to :: Rep BASIC_SPEC x -> BASIC_SPEC | |
Generic Sign Source # | |
Generic Morphism Source # | |
Generic Symbol Source # | |
Generic CommonLogicSL Source # | |
type Rep CommonLogicSL :: Type -> Type from :: CommonLogicSL -> Rep CommonLogicSL x to :: Rep CommonLogicSL x -> CommonLogicSL | |
Generic CLTextType Source # | |
type Rep CLTextType :: Type -> Type from :: CLTextType -> Rep CLTextType x to :: Rep CLTextType x -> CLTextType | |
FromJSON SYMB_ITEMS Source # | |
parseJSON :: Value -> Parser SYMB_ITEMS parseJSONList :: Value -> Parser [SYMB_ITEMS] | |
FromJSON SYMB_OR_MAP Source # | |
parseJSON :: Value -> Parser SYMB_OR_MAP parseJSONList :: Value -> Parser [SYMB_OR_MAP] | |
FromJSON SYMB_MAP_ITEMS Source # | |
parseJSON :: Value -> Parser SYMB_MAP_ITEMS parseJSONList :: Value -> Parser [SYMB_MAP_ITEMS] | |
FromJSON NAME_OR_SEQMARK Source # | |
parseJSON :: Value -> Parser NAME_OR_SEQMARK parseJSONList :: Value -> Parser [NAME_OR_SEQMARK] | |
FromJSON TERM_SEQ Source # | |
parseJSON :: Value -> Parser TERM_SEQ parseJSONList :: Value -> Parser [TERM_SEQ] | |
FromJSON TERM Source # | |
parseJSON :: Value -> Parser TERM parseJSONList :: Value -> Parser [TERM] | |
FromJSON ATOM Source # | |
parseJSON :: Value -> Parser ATOM parseJSONList :: Value -> Parser [ATOM] | |
FromJSON ImplEq Source # | |
parseJSON :: Value -> Parser ImplEq parseJSONList :: Value -> Parser [ImplEq] | |
FromJSON AndOr Source # | |
parseJSON :: Value -> Parser AndOr parseJSONList :: Value -> Parser [AndOr] | |
FromJSON BOOL_SENT Source # | |
parseJSON :: Value -> Parser BOOL_SENT parseJSONList :: Value -> Parser [BOOL_SENT] | |
FromJSON QUANT Source # | |
parseJSON :: Value -> Parser QUANT parseJSONList :: Value -> Parser [QUANT] | |
FromJSON SENTENCE Source # | |
parseJSON :: Value -> Parser SENTENCE parseJSONList :: Value -> Parser [SENTENCE] | |
FromJSON IMPORTATION Source # | |
parseJSON :: Value -> Parser IMPORTATION parseJSONList :: Value -> Parser [IMPORTATION] | |
FromJSON MODULE Source # | |
parseJSON :: Value -> Parser MODULE parseJSONList :: Value -> Parser [MODULE] | |
FromJSON COMMENT Source # | |
parseJSON :: Value -> Parser COMMENT parseJSONList :: Value -> Parser [COMMENT] | |
FromJSON PHRASE Source # | |
parseJSON :: Value -> Parser PHRASE parseJSONList :: Value -> Parser [PHRASE] | |
FromJSON TEXT Source # | |
parseJSON :: Value -> Parser TEXT parseJSONList :: Value -> Parser [TEXT] | |
FromJSON TEXT_META Source # | |
parseJSON :: Value -> Parser TEXT_META parseJSONList :: Value -> Parser [TEXT_META] | |
FromJSON BASIC_ITEMS Source # | |
parseJSON :: Value -> Parser BASIC_ITEMS parseJSONList :: Value -> Parser [BASIC_ITEMS] | |
FromJSON BASIC_SPEC Source # | |
parseJSON :: Value -> Parser BASIC_SPEC parseJSONList :: Value -> Parser [BASIC_SPEC] | |
FromJSON Sign Source # | |
parseJSON :: Value -> Parser Sign parseJSONList :: Value -> Parser [Sign] | |
FromJSON Morphism Source # | |
parseJSON :: Value -> Parser Morphism parseJSONList :: Value -> Parser [Morphism] | |
FromJSON Symbol Source # | |
parseJSON :: Value -> Parser Symbol parseJSONList :: Value -> Parser [Symbol] | |
FromJSON CommonLogicSL Source # | |
parseJSON :: Value -> Parser CommonLogicSL parseJSONList :: Value -> Parser [CommonLogicSL] | |
FromJSON CLTextType Source # | |
parseJSON :: Value -> Parser CLTextType parseJSONList :: Value -> Parser [CLTextType] | |
ToJSON SYMB_ITEMS Source # | |
toJSON :: SYMB_ITEMS -> Value toEncoding :: SYMB_ITEMS -> Encoding toJSONList :: [SYMB_ITEMS] -> Value toEncodingList :: [SYMB_ITEMS] -> Encoding | |
ToJSON SYMB_OR_MAP Source # | |
toJSON :: SYMB_OR_MAP -> Value toEncoding :: SYMB_OR_MAP -> Encoding toJSONList :: [SYMB_OR_MAP] -> Value toEncodingList :: [SYMB_OR_MAP] -> Encoding | |
ToJSON SYMB_MAP_ITEMS Source # | |
toJSON :: SYMB_MAP_ITEMS -> Value toEncoding :: SYMB_MAP_ITEMS -> Encoding toJSONList :: [SYMB_MAP_ITEMS] -> Value toEncodingList :: [SYMB_MAP_ITEMS] -> Encoding | |
ToJSON NAME_OR_SEQMARK Source # | |
toJSON :: NAME_OR_SEQMARK -> Value toEncoding :: NAME_OR_SEQMARK -> Encoding toJSONList :: [NAME_OR_SEQMARK] -> Value toEncodingList :: [NAME_OR_SEQMARK] -> Encoding | |
ToJSON TERM_SEQ Source # | |
toEncoding :: TERM_SEQ -> Encoding toJSONList :: [TERM_SEQ] -> Value toEncodingList :: [TERM_SEQ] -> Encoding | |
ToJSON TERM Source # | |
ToJSON ATOM Source # | |
ToJSON ImplEq Source # | |
toEncoding :: ImplEq -> Encoding toJSONList :: [ImplEq] -> Value toEncodingList :: [ImplEq] -> Encoding | |
ToJSON AndOr Source # | |
ToJSON BOOL_SENT Source # | |
toEncoding :: BOOL_SENT -> Encoding toJSONList :: [BOOL_SENT] -> Value toEncodingList :: [BOOL_SENT] -> Encoding | |
ToJSON QUANT Source # | |
ToJSON SENTENCE Source # | |
toEncoding :: SENTENCE -> Encoding toJSONList :: [SENTENCE] -> Value toEncodingList :: [SENTENCE] -> Encoding | |
ToJSON IMPORTATION Source # | |
toJSON :: IMPORTATION -> Value toEncoding :: IMPORTATION -> Encoding toJSONList :: [IMPORTATION] -> Value toEncodingList :: [IMPORTATION] -> Encoding | |
ToJSON MODULE Source # | |
toEncoding :: MODULE -> Encoding toJSONList :: [MODULE] -> Value toEncodingList :: [MODULE] -> Encoding | |
ToJSON COMMENT Source # | |
toEncoding :: COMMENT -> Encoding toJSONList :: [COMMENT] -> Value toEncodingList :: [COMMENT] -> Encoding | |
ToJSON PHRASE Source # | |
toEncoding :: PHRASE -> Encoding toJSONList :: [PHRASE] -> Value toEncodingList :: [PHRASE] -> Encoding | |
ToJSON TEXT Source # | |
ToJSON TEXT_META Source # | |
toEncoding :: TEXT_META -> Encoding toJSONList :: [TEXT_META] -> Value toEncodingList :: [TEXT_META] -> Encoding | |
ToJSON BASIC_ITEMS Source # | |
toJSON :: BASIC_ITEMS -> Value toEncoding :: BASIC_ITEMS -> Encoding toJSONList :: [BASIC_ITEMS] -> Value toEncodingList :: [BASIC_ITEMS] -> Encoding | |
ToJSON BASIC_SPEC Source # | |
toJSON :: BASIC_SPEC -> Value toEncoding :: BASIC_SPEC -> Encoding toJSONList :: [BASIC_SPEC] -> Value toEncodingList :: [BASIC_SPEC] -> Encoding | |
ToJSON Sign Source # | |
ToJSON Morphism Source # | |
toEncoding :: Morphism -> Encoding toJSONList :: [Morphism] -> Value toEncodingList :: [Morphism] -> Encoding | |
ToJSON Symbol Source # | |
toEncoding :: Symbol -> Encoding toJSONList :: [Symbol] -> Value toEncodingList :: [Symbol] -> Encoding | |
ToJSON CommonLogicSL Source # | |
toJSON :: CommonLogicSL -> Value toEncoding :: CommonLogicSL -> Encoding toJSONList :: [CommonLogicSL] -> Value toEncodingList :: [CommonLogicSL] -> Encoding | |
ToJSON CLTextType Source # | |
toJSON :: CLTextType -> Value toEncoding :: CLTextType -> Encoding toJSONList :: [CLTextType] -> Value toEncodingList :: [CLTextType] -> Encoding | |
ShATermConvertible SYMB_ITEMS Source # | |
toShATermAux :: ATermTable -> SYMB_ITEMS -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [SYMB_ITEMS] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, SYMB_ITEMS) fromShATermList' :: Int -> ATermTable -> (ATermTable, [SYMB_ITEMS]) | |
ShATermConvertible SYMB_OR_MAP Source # | |
toShATermAux :: ATermTable -> SYMB_OR_MAP -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [SYMB_OR_MAP] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, SYMB_OR_MAP) fromShATermList' :: Int -> ATermTable -> (ATermTable, [SYMB_OR_MAP]) | |
ShATermConvertible SYMB_MAP_ITEMS Source # | |
toShATermAux :: ATermTable -> SYMB_MAP_ITEMS -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [SYMB_MAP_ITEMS] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, SYMB_MAP_ITEMS) fromShATermList' :: Int -> ATermTable -> (ATermTable, [SYMB_MAP_ITEMS]) | |
ShATermConvertible NAME_OR_SEQMARK Source # | |
toShATermAux :: ATermTable -> NAME_OR_SEQMARK -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [NAME_OR_SEQMARK] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, NAME_OR_SEQMARK) fromShATermList' :: Int -> ATermTable -> (ATermTable, [NAME_OR_SEQMARK]) | |
ShATermConvertible TERM_SEQ Source # | |
toShATermAux :: ATermTable -> TERM_SEQ -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [TERM_SEQ] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, TERM_SEQ) fromShATermList' :: Int -> ATermTable -> (ATermTable, [TERM_SEQ]) | |
ShATermConvertible TERM Source # | |
toShATermAux :: ATermTable -> TERM -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [TERM] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, TERM) fromShATermList' :: Int -> ATermTable -> (ATermTable, [TERM]) | |
ShATermConvertible ATOM Source # | |
toShATermAux :: ATermTable -> ATOM -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [ATOM] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, ATOM) fromShATermList' :: Int -> ATermTable -> (ATermTable, [ATOM]) | |
ShATermConvertible ImplEq Source # | |
toShATermAux :: ATermTable -> ImplEq -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [ImplEq] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, ImplEq) fromShATermList' :: Int -> ATermTable -> (ATermTable, [ImplEq]) | |
ShATermConvertible AndOr Source # | |
toShATermAux :: ATermTable -> AndOr -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [AndOr] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, AndOr) fromShATermList' :: Int -> ATermTable -> (ATermTable, [AndOr]) | |
ShATermConvertible BOOL_SENT Source # | |
toShATermAux :: ATermTable -> BOOL_SENT -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [BOOL_SENT] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, BOOL_SENT) fromShATermList' :: Int -> ATermTable -> (ATermTable, [BOOL_SENT]) | |
ShATermConvertible QUANT Source # | |
toShATermAux :: ATermTable -> QUANT -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [QUANT] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, QUANT) fromShATermList' :: Int -> ATermTable -> (ATermTable, [QUANT]) | |
ShATermConvertible SENTENCE Source # | |
toShATermAux :: ATermTable -> SENTENCE -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [SENTENCE] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, SENTENCE) fromShATermList' :: Int -> ATermTable -> (ATermTable, [SENTENCE]) | |
ShATermConvertible IMPORTATION Source # | |
toShATermAux :: ATermTable -> IMPORTATION -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [IMPORTATION] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, IMPORTATION) fromShATermList' :: Int -> ATermTable -> (ATermTable, [IMPORTATION]) | |
ShATermConvertible MODULE Source # | |
toShATermAux :: ATermTable -> MODULE -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [MODULE] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, MODULE) fromShATermList' :: Int -> ATermTable -> (ATermTable, [MODULE]) | |
ShATermConvertible COMMENT Source # | |
toShATermAux :: ATermTable -> COMMENT -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [COMMENT] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, COMMENT) fromShATermList' :: Int -> ATermTable -> (ATermTable, [COMMENT]) | |
ShATermConvertible PHRASE Source # | |
toShATermAux :: ATermTable -> PHRASE -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [PHRASE] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, PHRASE) fromShATermList' :: Int -> ATermTable -> (ATermTable, [PHRASE]) | |
ShATermConvertible TEXT Source # | |
toShATermAux :: ATermTable -> TEXT -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [TEXT] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, TEXT) fromShATermList' :: Int -> ATermTable -> (ATermTable, [TEXT]) | |
ShATermConvertible TEXT_META Source # | |
toShATermAux :: ATermTable -> TEXT_META -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [TEXT_META] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, TEXT_META) fromShATermList' :: Int -> ATermTable -> (ATermTable, [TEXT_META]) | |
ShATermConvertible BASIC_ITEMS Source # | |
toShATermAux :: ATermTable -> BASIC_ITEMS -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [BASIC_ITEMS] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, BASIC_ITEMS) fromShATermList' :: Int -> ATermTable -> (ATermTable, [BASIC_ITEMS]) | |
ShATermConvertible BASIC_SPEC Source # | |
toShATermAux :: ATermTable -> BASIC_SPEC -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [BASIC_SPEC] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, BASIC_SPEC) fromShATermList' :: Int -> ATermTable -> (ATermTable, [BASIC_SPEC]) | |
ShATermConvertible Sign Source # | |
toShATermAux :: ATermTable -> Sign -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Sign] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Sign) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Sign]) | |
ShATermConvertible Morphism Source # | |
toShATermAux :: ATermTable -> Morphism -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Morphism] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Morphism) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Morphism]) | |
ShATermConvertible Symbol Source # | |
toShATermAux :: ATermTable -> Symbol -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Symbol] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Symbol) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Symbol]) | |
ShATermConvertible CommonLogicSL Source # | |
toShATermAux :: ATermTable -> CommonLogicSL -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [CommonLogicSL] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, CommonLogicSL) fromShATermList' :: Int -> ATermTable -> (ATermTable, [CommonLogicSL]) | |
ShATermConvertible CLTextType Source # | |
toShATermAux :: ATermTable -> CLTextType -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [CLTextType] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, CLTextType) fromShATermList' :: Int -> ATermTable -> (ATermTable, [CLTextType]) |