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