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):
ConstraintFORMULA
RELATION
ATOMCONJUNCTION
ATOM
ConstraintTERM
Orphan instances
Generic ConstraintTERM Source # | |
type Rep ConstraintTERM :: Type -> Type from :: ConstraintTERM -> Rep ConstraintTERM x to :: Rep ConstraintTERM x -> ConstraintTERM | |
Generic ATOM Source # | |
Generic ATOMCONJUNCTION Source # | |
type Rep ATOMCONJUNCTION :: Type -> Type from :: ATOMCONJUNCTION -> Rep ATOMCONJUNCTION x to :: Rep ATOMCONJUNCTION x -> ATOMCONJUNCTION | |
Generic RELATION Source # | |
Generic ConstraintFORMULA Source # | |
type Rep ConstraintFORMULA :: Type -> Type from :: ConstraintFORMULA -> Rep ConstraintFORMULA x to :: Rep ConstraintFORMULA x -> ConstraintFORMULA | |
FromJSON ConstraintTERM Source # | |
parseJSON :: Value -> Parser ConstraintTERM parseJSONList :: Value -> Parser [ConstraintTERM] | |
FromJSON ATOM Source # | |
parseJSON :: Value -> Parser ATOM parseJSONList :: Value -> Parser [ATOM] | |
FromJSON ATOMCONJUNCTION Source # | |
parseJSON :: Value -> Parser ATOMCONJUNCTION parseJSONList :: Value -> Parser [ATOMCONJUNCTION] | |
FromJSON RELATION Source # | |
parseJSON :: Value -> Parser RELATION parseJSONList :: Value -> Parser [RELATION] | |
FromJSON ConstraintFORMULA Source # | |
parseJSON :: Value -> Parser ConstraintFORMULA parseJSONList :: Value -> Parser [ConstraintFORMULA] | |
ToJSON ConstraintTERM Source # | |
toJSON :: ConstraintTERM -> Value toEncoding :: ConstraintTERM -> Encoding toJSONList :: [ConstraintTERM] -> Value toEncodingList :: [ConstraintTERM] -> Encoding | |
ToJSON ATOM Source # | |
ToJSON ATOMCONJUNCTION Source # | |
toJSON :: ATOMCONJUNCTION -> Value toEncoding :: ATOMCONJUNCTION -> Encoding toJSONList :: [ATOMCONJUNCTION] -> Value toEncodingList :: [ATOMCONJUNCTION] -> Encoding | |
ToJSON RELATION Source # | |
toEncoding :: RELATION -> Encoding toJSONList :: [RELATION] -> Value toEncodingList :: [RELATION] -> Encoding | |
ToJSON ConstraintFORMULA Source # | |
toJSON :: ConstraintFORMULA -> Value toEncoding :: ConstraintFORMULA -> Encoding toJSONList :: [ConstraintFORMULA] -> Value toEncodingList :: [ConstraintFORMULA] -> Encoding | |
ShATermConvertible ConstraintTERM Source # | |
toShATermAux :: ATermTable -> ConstraintTERM -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [ConstraintTERM] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, ConstraintTERM) fromShATermList' :: Int -> ATermTable -> (ATermTable, [ConstraintTERM]) | |
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 ATOMCONJUNCTION Source # | |
toShATermAux :: ATermTable -> ATOMCONJUNCTION -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [ATOMCONJUNCTION] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, ATOMCONJUNCTION) fromShATermList' :: Int -> ATermTable -> (ATermTable, [ATOMCONJUNCTION]) | |
ShATermConvertible RELATION Source # | |
toShATermAux :: ATermTable -> RELATION -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [RELATION] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, RELATION) fromShATermList' :: Int -> ATermTable -> (ATermTable, [RELATION]) | |
ShATermConvertible ConstraintFORMULA Source # | |
toShATermAux :: ATermTable -> ConstraintFORMULA -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [ConstraintFORMULA] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, ConstraintFORMULA) fromShATermList' :: Int -> ATermTable -> (ATermTable, [ConstraintFORMULA]) |