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