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):
Sentence
Sign
HolLightSL
HolType
HolProof
HolParseType
HolTermInfo
Term
Orphan instances
Generic HolLightSL Source # | |
type Rep HolLightSL :: Type -> Type from :: HolLightSL -> Rep HolLightSL x to :: Rep HolLightSL x -> HolLightSL | |
Generic Term Source # | |
Generic HolTermInfo Source # | |
type Rep HolTermInfo :: Type -> Type from :: HolTermInfo -> Rep HolTermInfo x to :: Rep HolTermInfo x -> HolTermInfo | |
Generic HolParseType Source # | |
type Rep HolParseType :: Type -> Type from :: HolParseType -> Rep HolParseType x to :: Rep HolParseType x -> HolParseType | |
Generic HolProof Source # | |
Generic HolType Source # | |
Generic Sign Source # | |
Generic Sentence Source # | |
FromJSON HolLightSL Source # | |
parseJSON :: Value -> Parser HolLightSL parseJSONList :: Value -> Parser [HolLightSL] | |
FromJSON Term Source # | |
parseJSON :: Value -> Parser Term parseJSONList :: Value -> Parser [Term] | |
FromJSON HolTermInfo Source # | |
parseJSON :: Value -> Parser HolTermInfo parseJSONList :: Value -> Parser [HolTermInfo] | |
FromJSON HolParseType Source # | |
parseJSON :: Value -> Parser HolParseType parseJSONList :: Value -> Parser [HolParseType] | |
FromJSON HolProof Source # | |
parseJSON :: Value -> Parser HolProof parseJSONList :: Value -> Parser [HolProof] | |
FromJSON HolType Source # | |
parseJSON :: Value -> Parser HolType parseJSONList :: Value -> Parser [HolType] | |
FromJSON Sign Source # | |
parseJSON :: Value -> Parser Sign parseJSONList :: Value -> Parser [Sign] | |
FromJSON Sentence Source # | |
parseJSON :: Value -> Parser Sentence parseJSONList :: Value -> Parser [Sentence] | |
ToJSON HolLightSL Source # | |
toJSON :: HolLightSL -> Value toEncoding :: HolLightSL -> Encoding toJSONList :: [HolLightSL] -> Value toEncodingList :: [HolLightSL] -> Encoding | |
ToJSON Term Source # | |
ToJSON HolTermInfo Source # | |
toJSON :: HolTermInfo -> Value toEncoding :: HolTermInfo -> Encoding toJSONList :: [HolTermInfo] -> Value toEncodingList :: [HolTermInfo] -> Encoding | |
ToJSON HolParseType Source # | |
toJSON :: HolParseType -> Value toEncoding :: HolParseType -> Encoding toJSONList :: [HolParseType] -> Value toEncodingList :: [HolParseType] -> Encoding | |
ToJSON HolProof Source # | |
toEncoding :: HolProof -> Encoding toJSONList :: [HolProof] -> Value toEncodingList :: [HolProof] -> Encoding | |
ToJSON HolType Source # | |
toEncoding :: HolType -> Encoding toJSONList :: [HolType] -> Value toEncodingList :: [HolType] -> Encoding | |
ToJSON Sign Source # | |
ToJSON Sentence Source # | |
toEncoding :: Sentence -> Encoding toJSONList :: [Sentence] -> Value toEncodingList :: [Sentence] -> Encoding | |
ShATermConvertible HolLightSL Source # | |
toShATermAux :: ATermTable -> HolLightSL -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [HolLightSL] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, HolLightSL) fromShATermList' :: Int -> ATermTable -> (ATermTable, [HolLightSL]) | |
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 HolTermInfo Source # | |
toShATermAux :: ATermTable -> HolTermInfo -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [HolTermInfo] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, HolTermInfo) fromShATermList' :: Int -> ATermTable -> (ATermTable, [HolTermInfo]) | |
ShATermConvertible HolParseType Source # | |
toShATermAux :: ATermTable -> HolParseType -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [HolParseType] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, HolParseType) fromShATermList' :: Int -> ATermTable -> (ATermTable, [HolParseType]) | |
ShATermConvertible HolProof Source # | |
toShATermAux :: ATermTable -> HolProof -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [HolProof] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, HolProof) fromShATermList' :: Int -> ATermTable -> (ATermTable, [HolProof]) | |
ShATermConvertible HolType Source # | |
toShATermAux :: ATermTable -> HolType -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [HolType] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, HolType) fromShATermList' :: Int -> ATermTable -> (ATermTable, [HolType]) | |
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 Sentence Source # | |
toShATermAux :: ATermTable -> Sentence -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Sentence] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Sentence) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Sentence]) |