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):
Annote_word
Annote_text
Display_format
PrecRel
AssocEither
Semantic_anno
Annotation
Annoted
SenOrigin
SenAttr
Name
Orphan instances
Generic Name Source # | |
Generic SenOrigin Source # | |
Generic Annotation Source # | |
type Rep Annotation :: Type -> Type from :: Annotation -> Rep Annotation x to :: Rep Annotation x -> Annotation | |
Generic Semantic_anno Source # | |
type Rep Semantic_anno :: Type -> Type from :: Semantic_anno -> Rep Semantic_anno x to :: Rep Semantic_anno x -> Semantic_anno | |
Generic AssocEither Source # | |
type Rep AssocEither :: Type -> Type from :: AssocEither -> Rep AssocEither x to :: Rep AssocEither x -> AssocEither | |
Generic PrecRel Source # | |
Generic Display_format Source # | |
type Rep Display_format :: Type -> Type from :: Display_format -> Rep Display_format x to :: Rep Display_format x -> Display_format | |
Generic Annote_text Source # | |
type Rep Annote_text :: Type -> Type from :: Annote_text -> Rep Annote_text x to :: Rep Annote_text x -> Annote_text | |
Generic Annote_word Source # | |
type Rep Annote_word :: Type -> Type from :: Annote_word -> Rep Annote_word x to :: Rep Annote_word x -> Annote_word | |
FromJSON Name Source # | |
parseJSON :: Value -> Parser Name parseJSONList :: Value -> Parser [Name] | |
FromJSON SenOrigin Source # | |
parseJSON :: Value -> Parser SenOrigin parseJSONList :: Value -> Parser [SenOrigin] | |
FromJSON Annotation Source # | |
parseJSON :: Value -> Parser Annotation parseJSONList :: Value -> Parser [Annotation] | |
FromJSON Semantic_anno Source # | |
parseJSON :: Value -> Parser Semantic_anno parseJSONList :: Value -> Parser [Semantic_anno] | |
FromJSON AssocEither Source # | |
parseJSON :: Value -> Parser AssocEither parseJSONList :: Value -> Parser [AssocEither] | |
FromJSON PrecRel Source # | |
parseJSON :: Value -> Parser PrecRel parseJSONList :: Value -> Parser [PrecRel] | |
FromJSON Display_format Source # | |
parseJSON :: Value -> Parser Display_format parseJSONList :: Value -> Parser [Display_format] | |
FromJSON Annote_text Source # | |
parseJSON :: Value -> Parser Annote_text parseJSONList :: Value -> Parser [Annote_text] | |
FromJSON Annote_word Source # | |
parseJSON :: Value -> Parser Annote_word parseJSONList :: Value -> Parser [Annote_word] | |
ToJSON Name Source # | |
ToJSON SenOrigin Source # | |
toEncoding :: SenOrigin -> Encoding toJSONList :: [SenOrigin] -> Value toEncodingList :: [SenOrigin] -> Encoding | |
ToJSON Annotation Source # | |
toJSON :: Annotation -> Value toEncoding :: Annotation -> Encoding toJSONList :: [Annotation] -> Value toEncodingList :: [Annotation] -> Encoding | |
ToJSON Semantic_anno Source # | |
toJSON :: Semantic_anno -> Value toEncoding :: Semantic_anno -> Encoding toJSONList :: [Semantic_anno] -> Value toEncodingList :: [Semantic_anno] -> Encoding | |
ToJSON AssocEither Source # | |
toJSON :: AssocEither -> Value toEncoding :: AssocEither -> Encoding toJSONList :: [AssocEither] -> Value toEncodingList :: [AssocEither] -> Encoding | |
ToJSON PrecRel Source # | |
toEncoding :: PrecRel -> Encoding toJSONList :: [PrecRel] -> Value toEncodingList :: [PrecRel] -> Encoding | |
ToJSON Display_format Source # | |
toJSON :: Display_format -> Value toEncoding :: Display_format -> Encoding toJSONList :: [Display_format] -> Value toEncodingList :: [Display_format] -> Encoding | |
ToJSON Annote_text Source # | |
toJSON :: Annote_text -> Value toEncoding :: Annote_text -> Encoding toJSONList :: [Annote_text] -> Value toEncodingList :: [Annote_text] -> Encoding | |
ToJSON Annote_word Source # | |
toJSON :: Annote_word -> Value toEncoding :: Annote_word -> Encoding toJSONList :: [Annote_word] -> Value toEncodingList :: [Annote_word] -> Encoding | |
ShATermConvertible Name Source # | |
toShATermAux :: ATermTable -> Name -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Name] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Name) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Name]) | |
ShATermConvertible SenOrigin Source # | |
toShATermAux :: ATermTable -> SenOrigin -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [SenOrigin] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, SenOrigin) fromShATermList' :: Int -> ATermTable -> (ATermTable, [SenOrigin]) | |
ShATermConvertible Annotation Source # | |
toShATermAux :: ATermTable -> Annotation -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Annotation] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Annotation) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Annotation]) | |
ShATermConvertible Semantic_anno Source # | |
toShATermAux :: ATermTable -> Semantic_anno -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Semantic_anno] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Semantic_anno) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Semantic_anno]) | |
ShATermConvertible AssocEither Source # | |
toShATermAux :: ATermTable -> AssocEither -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [AssocEither] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, AssocEither) fromShATermList' :: Int -> ATermTable -> (ATermTable, [AssocEither]) | |
ShATermConvertible PrecRel Source # | |
toShATermAux :: ATermTable -> PrecRel -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [PrecRel] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, PrecRel) fromShATermList' :: Int -> ATermTable -> (ATermTable, [PrecRel]) | |
ShATermConvertible Display_format Source # | |
toShATermAux :: ATermTable -> Display_format -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Display_format] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Display_format) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Display_format]) | |
ShATermConvertible Annote_text Source # | |
toShATermAux :: ATermTable -> Annote_text -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Annote_text] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Annote_text) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Annote_text]) | |
ShATermConvertible Annote_word Source # | |
toShATermAux :: ATermTable -> Annote_word -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Annote_word] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Annote_word) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Annote_word]) | |
Generic (Annoted a) Source # | |
FromJSON a => FromJSON (Annoted a) Source # | |
parseJSON :: Value -> Parser (Annoted a) parseJSONList :: Value -> Parser [Annoted a] | |
ToJSON a => ToJSON (Annoted a) Source # | |
toEncoding :: Annoted a -> Encoding toJSONList :: [Annoted a] -> Value toEncodingList :: [Annoted a] -> Encoding | |
ShATermConvertible a => ShATermConvertible (Annoted a) Source # | |
toShATermAux :: ATermTable -> Annoted a -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Annoted a] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Annoted a) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Annoted a]) | |
Generic (SenAttr s a) Source # | |
(FromJSON s, FromJSON a) => FromJSON (SenAttr s a) Source # | |
parseJSON :: Value -> Parser (SenAttr s a) parseJSONList :: Value -> Parser [SenAttr s a] | |
(ToJSON s, ToJSON a) => ToJSON (SenAttr s a) Source # | |
toJSON :: SenAttr s a -> Value toEncoding :: SenAttr s a -> Encoding toJSONList :: [SenAttr s a] -> Value toEncodingList :: [SenAttr s a] -> Encoding | |
(ShATermConvertible s, ShATermConvertible a) => ShATermConvertible (SenAttr s a) Source # | |
toShATermAux :: ATermTable -> SenAttr s a -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [SenAttr s a] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, SenAttr s a) fromShATermList' :: Int -> ATermTable -> (ATermTable, [SenAttr s a]) |