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 |
CSL.ATC_CSL
Contents
Description
Automatic derivation of instances via DrIFT-rule ShATermConvertible, Json
for the type(s):
OpType
Sign
Morphism
OP_ITEM
VAR_ITEM
BASIC_SPEC
GroundConstant
AssDefinition
InstantiatedConstant
BASIC_ITEM
EXTPARAM
EPDecl
EPVal
OPNAME
OPID
ConstantName
EXPRESSION
VarDecl
OpDecl
CMD
SYMB_ITEMS
SYMB
SYMB_MAP_ITEMS
SYMB_OR_MAP
BindInfo
OpInfo
Symbol
Incomparable
SetOrdering
InfDev
CIType
SetOrInterval
ClosedInterval
InfInt
Orphan instances
Generic InfInt Source # | |
Generic InfDev Source # | |
Generic SetOrdering Source # | |
Associated Types type Rep SetOrdering :: Type -> Type | |
Generic Incomparable Source # | |
Associated Types type Rep Incomparable :: Type -> Type | |
Generic OpInfo Source # | |
Generic BindInfo Source # | |
Generic SYMB_OR_MAP Source # | |
Associated Types type Rep SYMB_OR_MAP :: Type -> Type | |
Generic SYMB_MAP_ITEMS Source # | |
Associated Types type Rep SYMB_MAP_ITEMS :: Type -> Type | |
Generic SYMB Source # | |
Generic SYMB_ITEMS Source # | |
Associated Types type Rep SYMB_ITEMS :: Type -> Type | |
Generic CMD Source # | |
Generic OpDecl Source # | |
Generic VarDecl Source # | |
Generic EXPRESSION Source # | |
Associated Types type Rep EXPRESSION :: Type -> Type | |
Generic ConstantName Source # | |
Associated Types type Rep ConstantName :: Type -> Type | |
Generic OPID Source # | |
Generic OPNAME Source # | |
Generic EPVal Source # | |
Generic EPDecl Source # | |
Generic EXTPARAM Source # | |
Generic BASIC_ITEM Source # | |
Associated Types type Rep BASIC_ITEM :: Type -> Type | |
Generic InstantiatedConstant Source # | |
Associated Types type Rep InstantiatedConstant :: Type -> Type Methods from :: InstantiatedConstant -> Rep InstantiatedConstant x to :: Rep InstantiatedConstant x -> InstantiatedConstant | |
Generic AssDefinition Source # | |
Associated Types type Rep AssDefinition :: Type -> Type | |
Generic GroundConstant Source # | |
Associated Types type Rep GroundConstant :: Type -> Type | |
Generic BASIC_SPEC Source # | |
Associated Types type Rep BASIC_SPEC :: Type -> Type | |
Generic VAR_ITEM Source # | |
Generic OP_ITEM Source # | |
Generic Sign Source # | |
Generic OpType Source # | |
Generic Morphism Source # | |
Generic Symbol Source # | |
FromJSON InfInt Source # | |
FromJSON InfDev Source # | |
FromJSON SetOrdering Source # | |
FromJSON Incomparable Source # | |
FromJSON OpInfo Source # | |
FromJSON BindInfo Source # | |
FromJSON SYMB_OR_MAP Source # | |
FromJSON SYMB_MAP_ITEMS Source # | |
FromJSON SYMB Source # | |
FromJSON SYMB_ITEMS Source # | |
FromJSON CMD Source # | |
FromJSON OpDecl Source # | |
FromJSON VarDecl Source # | |
FromJSON EXPRESSION Source # | |
FromJSON ConstantName Source # | |
FromJSON OPID Source # | |
FromJSON OPNAME Source # | |
FromJSON EPVal Source # | |
FromJSON EPDecl Source # | |
FromJSON EXTPARAM Source # | |
FromJSON BASIC_ITEM Source # | |
FromJSON InstantiatedConstant Source # | |
Methods parseJSON :: Value -> Parser InstantiatedConstant parseJSONList :: Value -> Parser [InstantiatedConstant] | |
FromJSON AssDefinition Source # | |
FromJSON GroundConstant Source # | |
FromJSON BASIC_SPEC Source # | |
FromJSON VAR_ITEM Source # | |
FromJSON OP_ITEM Source # | |
FromJSON Sign Source # | |
FromJSON OpType Source # | |
FromJSON Morphism Source # | |
FromJSON Symbol Source # | |
ToJSON InfInt Source # | |
Methods toEncoding :: InfInt -> Encoding toJSONList :: [InfInt] -> Value toEncodingList :: [InfInt] -> Encoding | |
ToJSON InfDev Source # | |
Methods toEncoding :: InfDev -> Encoding toJSONList :: [InfDev] -> Value toEncodingList :: [InfDev] -> Encoding | |
ToJSON SetOrdering Source # | |
Methods toJSON :: SetOrdering -> Value toEncoding :: SetOrdering -> Encoding toJSONList :: [SetOrdering] -> Value toEncodingList :: [SetOrdering] -> Encoding | |
ToJSON Incomparable Source # | |
Methods toJSON :: Incomparable -> Value toEncoding :: Incomparable -> Encoding toJSONList :: [Incomparable] -> Value toEncodingList :: [Incomparable] -> Encoding | |
ToJSON OpInfo Source # | |
Methods toEncoding :: OpInfo -> Encoding toJSONList :: [OpInfo] -> Value toEncodingList :: [OpInfo] -> Encoding | |
ToJSON BindInfo Source # | |
Methods toEncoding :: BindInfo -> Encoding toJSONList :: [BindInfo] -> Value toEncodingList :: [BindInfo] -> Encoding | |
ToJSON SYMB_OR_MAP Source # | |
Methods toJSON :: SYMB_OR_MAP -> Value toEncoding :: SYMB_OR_MAP -> Encoding toJSONList :: [SYMB_OR_MAP] -> Value toEncodingList :: [SYMB_OR_MAP] -> Encoding | |
ToJSON SYMB_MAP_ITEMS Source # | |
Methods toJSON :: SYMB_MAP_ITEMS -> Value toEncoding :: SYMB_MAP_ITEMS -> Encoding toJSONList :: [SYMB_MAP_ITEMS] -> Value toEncodingList :: [SYMB_MAP_ITEMS] -> Encoding | |
ToJSON SYMB Source # | |
Methods toEncoding :: SYMB -> Encoding toJSONList :: [SYMB] -> Value toEncodingList :: [SYMB] -> Encoding | |
ToJSON SYMB_ITEMS Source # | |
Methods toJSON :: SYMB_ITEMS -> Value toEncoding :: SYMB_ITEMS -> Encoding toJSONList :: [SYMB_ITEMS] -> Value toEncodingList :: [SYMB_ITEMS] -> Encoding | |
ToJSON CMD Source # | |
ToJSON OpDecl Source # | |
Methods toEncoding :: OpDecl -> Encoding toJSONList :: [OpDecl] -> Value toEncodingList :: [OpDecl] -> Encoding | |
ToJSON VarDecl Source # | |
Methods toEncoding :: VarDecl -> Encoding toJSONList :: [VarDecl] -> Value toEncodingList :: [VarDecl] -> Encoding | |
ToJSON EXPRESSION Source # | |
Methods toJSON :: EXPRESSION -> Value toEncoding :: EXPRESSION -> Encoding toJSONList :: [EXPRESSION] -> Value toEncodingList :: [EXPRESSION] -> Encoding | |
ToJSON ConstantName Source # | |
Methods toJSON :: ConstantName -> Value toEncoding :: ConstantName -> Encoding toJSONList :: [ConstantName] -> Value toEncodingList :: [ConstantName] -> Encoding | |
ToJSON OPID Source # | |
Methods toEncoding :: OPID -> Encoding toJSONList :: [OPID] -> Value toEncodingList :: [OPID] -> Encoding | |
ToJSON OPNAME Source # | |
Methods toEncoding :: OPNAME -> Encoding toJSONList :: [OPNAME] -> Value toEncodingList :: [OPNAME] -> Encoding | |
ToJSON EPVal Source # | |
Methods toEncoding :: EPVal -> Encoding toJSONList :: [EPVal] -> Value toEncodingList :: [EPVal] -> Encoding | |
ToJSON EPDecl Source # | |
Methods toEncoding :: EPDecl -> Encoding toJSONList :: [EPDecl] -> Value toEncodingList :: [EPDecl] -> Encoding | |
ToJSON EXTPARAM Source # | |
Methods toEncoding :: EXTPARAM -> Encoding toJSONList :: [EXTPARAM] -> Value toEncodingList :: [EXTPARAM] -> Encoding | |
ToJSON BASIC_ITEM Source # | |
Methods toJSON :: BASIC_ITEM -> Value toEncoding :: BASIC_ITEM -> Encoding toJSONList :: [BASIC_ITEM] -> Value toEncodingList :: [BASIC_ITEM] -> Encoding | |
ToJSON InstantiatedConstant Source # | |
Methods toJSON :: InstantiatedConstant -> Value toEncoding :: InstantiatedConstant -> Encoding toJSONList :: [InstantiatedConstant] -> Value toEncodingList :: [InstantiatedConstant] -> Encoding | |
ToJSON AssDefinition Source # | |
Methods toJSON :: AssDefinition -> Value toEncoding :: AssDefinition -> Encoding toJSONList :: [AssDefinition] -> Value toEncodingList :: [AssDefinition] -> Encoding | |
ToJSON GroundConstant Source # | |
Methods toJSON :: GroundConstant -> Value toEncoding :: GroundConstant -> Encoding toJSONList :: [GroundConstant] -> Value toEncodingList :: [GroundConstant] -> Encoding | |
ToJSON BASIC_SPEC Source # | |
Methods toJSON :: BASIC_SPEC -> Value toEncoding :: BASIC_SPEC -> Encoding toJSONList :: [BASIC_SPEC] -> Value toEncodingList :: [BASIC_SPEC] -> Encoding | |
ToJSON VAR_ITEM Source # | |
Methods toEncoding :: VAR_ITEM -> Encoding toJSONList :: [VAR_ITEM] -> Value toEncodingList :: [VAR_ITEM] -> Encoding | |
ToJSON OP_ITEM Source # | |
Methods toEncoding :: OP_ITEM -> Encoding toJSONList :: [OP_ITEM] -> Value toEncodingList :: [OP_ITEM] -> Encoding | |
ToJSON Sign Source # | |
Methods toEncoding :: Sign -> Encoding toJSONList :: [Sign] -> Value toEncodingList :: [Sign] -> Encoding | |
ToJSON OpType Source # | |
Methods toEncoding :: OpType -> Encoding toJSONList :: [OpType] -> Value toEncodingList :: [OpType] -> Encoding | |
ToJSON Morphism Source # | |
Methods toEncoding :: Morphism -> Encoding toJSONList :: [Morphism] -> Value toEncodingList :: [Morphism] -> Encoding | |
ToJSON Symbol Source # | |
Methods toEncoding :: Symbol -> Encoding toJSONList :: [Symbol] -> Value toEncodingList :: [Symbol] -> Encoding | |
ShATermConvertible InfInt Source # | |
Methods toShATermAux :: ATermTable -> InfInt -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [InfInt] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, InfInt) fromShATermList' :: Int -> ATermTable -> (ATermTable, [InfInt]) | |
ShATermConvertible InfDev Source # | |
Methods toShATermAux :: ATermTable -> InfDev -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [InfDev] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, InfDev) fromShATermList' :: Int -> ATermTable -> (ATermTable, [InfDev]) | |
ShATermConvertible SetOrdering Source # | |
Methods toShATermAux :: ATermTable -> SetOrdering -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [SetOrdering] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, SetOrdering) fromShATermList' :: Int -> ATermTable -> (ATermTable, [SetOrdering]) | |
ShATermConvertible Incomparable Source # | |
Methods toShATermAux :: ATermTable -> Incomparable -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Incomparable] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Incomparable) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Incomparable]) | |
ShATermConvertible OpInfo Source # | |
Methods toShATermAux :: ATermTable -> OpInfo -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OpInfo] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OpInfo) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OpInfo]) | |
ShATermConvertible BindInfo Source # | |
Methods toShATermAux :: ATermTable -> BindInfo -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [BindInfo] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, BindInfo) fromShATermList' :: Int -> ATermTable -> (ATermTable, [BindInfo]) | |
ShATermConvertible SYMB_OR_MAP Source # | |
Methods toShATermAux :: ATermTable -> SYMB_OR_MAP -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [SYMB_OR_MAP] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, SYMB_OR_MAP) fromShATermList' :: Int -> ATermTable -> (ATermTable, [SYMB_OR_MAP]) | |
ShATermConvertible SYMB_MAP_ITEMS Source # | |
Methods toShATermAux :: ATermTable -> SYMB_MAP_ITEMS -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [SYMB_MAP_ITEMS] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, SYMB_MAP_ITEMS) fromShATermList' :: Int -> ATermTable -> (ATermTable, [SYMB_MAP_ITEMS]) | |
ShATermConvertible SYMB Source # | |
Methods toShATermAux :: ATermTable -> SYMB -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [SYMB] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, SYMB) fromShATermList' :: Int -> ATermTable -> (ATermTable, [SYMB]) | |
ShATermConvertible SYMB_ITEMS Source # | |
Methods toShATermAux :: ATermTable -> SYMB_ITEMS -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [SYMB_ITEMS] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, SYMB_ITEMS) fromShATermList' :: Int -> ATermTable -> (ATermTable, [SYMB_ITEMS]) | |
ShATermConvertible CMD Source # | |
Methods toShATermAux :: ATermTable -> CMD -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [CMD] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, CMD) fromShATermList' :: Int -> ATermTable -> (ATermTable, [CMD]) | |
ShATermConvertible OpDecl Source # | |
Methods toShATermAux :: ATermTable -> OpDecl -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OpDecl] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OpDecl) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OpDecl]) | |
ShATermConvertible VarDecl Source # | |
Methods toShATermAux :: ATermTable -> VarDecl -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [VarDecl] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, VarDecl) fromShATermList' :: Int -> ATermTable -> (ATermTable, [VarDecl]) | |
ShATermConvertible EXPRESSION Source # | |
Methods toShATermAux :: ATermTable -> EXPRESSION -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [EXPRESSION] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, EXPRESSION) fromShATermList' :: Int -> ATermTable -> (ATermTable, [EXPRESSION]) | |
ShATermConvertible ConstantName Source # | |
Methods toShATermAux :: ATermTable -> ConstantName -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [ConstantName] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, ConstantName) fromShATermList' :: Int -> ATermTable -> (ATermTable, [ConstantName]) | |
ShATermConvertible OPID Source # | |
Methods toShATermAux :: ATermTable -> OPID -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OPID] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OPID) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OPID]) | |
ShATermConvertible OPNAME Source # | |
Methods toShATermAux :: ATermTable -> OPNAME -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OPNAME] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OPNAME) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OPNAME]) | |
ShATermConvertible EPVal Source # | |
Methods toShATermAux :: ATermTable -> EPVal -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [EPVal] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, EPVal) fromShATermList' :: Int -> ATermTable -> (ATermTable, [EPVal]) | |
ShATermConvertible EPDecl Source # | |
Methods toShATermAux :: ATermTable -> EPDecl -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [EPDecl] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, EPDecl) fromShATermList' :: Int -> ATermTable -> (ATermTable, [EPDecl]) | |
ShATermConvertible EXTPARAM Source # | |
Methods toShATermAux :: ATermTable -> EXTPARAM -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [EXTPARAM] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, EXTPARAM) fromShATermList' :: Int -> ATermTable -> (ATermTable, [EXTPARAM]) | |
ShATermConvertible BASIC_ITEM Source # | |
Methods toShATermAux :: ATermTable -> BASIC_ITEM -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [BASIC_ITEM] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, BASIC_ITEM) fromShATermList' :: Int -> ATermTable -> (ATermTable, [BASIC_ITEM]) | |
ShATermConvertible InstantiatedConstant Source # | |
Methods toShATermAux :: ATermTable -> InstantiatedConstant -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [InstantiatedConstant] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, InstantiatedConstant) fromShATermList' :: Int -> ATermTable -> (ATermTable, [InstantiatedConstant]) | |
ShATermConvertible AssDefinition Source # | |
Methods toShATermAux :: ATermTable -> AssDefinition -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [AssDefinition] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, AssDefinition) fromShATermList' :: Int -> ATermTable -> (ATermTable, [AssDefinition]) | |
ShATermConvertible GroundConstant Source # | |
Methods toShATermAux :: ATermTable -> GroundConstant -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [GroundConstant] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, GroundConstant) fromShATermList' :: Int -> ATermTable -> (ATermTable, [GroundConstant]) | |
ShATermConvertible BASIC_SPEC Source # | |
Methods toShATermAux :: ATermTable -> BASIC_SPEC -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [BASIC_SPEC] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, BASIC_SPEC) fromShATermList' :: Int -> ATermTable -> (ATermTable, [BASIC_SPEC]) | |
ShATermConvertible VAR_ITEM Source # | |
Methods toShATermAux :: ATermTable -> VAR_ITEM -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [VAR_ITEM] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, VAR_ITEM) fromShATermList' :: Int -> ATermTable -> (ATermTable, [VAR_ITEM]) | |
ShATermConvertible OP_ITEM Source # | |
Methods toShATermAux :: ATermTable -> OP_ITEM -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OP_ITEM] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OP_ITEM) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OP_ITEM]) | |
ShATermConvertible Sign Source # | |
Methods toShATermAux :: ATermTable -> Sign -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Sign] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Sign) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Sign]) | |
ShATermConvertible OpType Source # | |
Methods toShATermAux :: ATermTable -> OpType -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OpType] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OpType) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OpType]) | |
ShATermConvertible Morphism Source # | |
Methods toShATermAux :: ATermTable -> Morphism -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Morphism] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Morphism) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Morphism]) | |
ShATermConvertible Symbol Source # | |
Methods toShATermAux :: ATermTable -> Symbol -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Symbol] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Symbol) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Symbol]) | |
Generic (ClosedInterval a) Source # | |
Associated Types type Rep (ClosedInterval a) :: Type -> Type Methods from :: ClosedInterval a -> Rep (ClosedInterval a) x to :: Rep (ClosedInterval a) x -> ClosedInterval a | |
Generic (SetOrInterval a) Source # | |
Associated Types type Rep (SetOrInterval a) :: Type -> Type Methods from :: SetOrInterval a -> Rep (SetOrInterval a) x to :: Rep (SetOrInterval a) x -> SetOrInterval a | |
Generic (CIType a) Source # | |
FromJSON a => FromJSON (ClosedInterval a) Source # | |
Methods parseJSON :: Value -> Parser (ClosedInterval a) parseJSONList :: Value -> Parser [ClosedInterval a] | |
(Ord a, FromJSON a) => FromJSON (SetOrInterval a) Source # | |
Methods parseJSON :: Value -> Parser (SetOrInterval a) parseJSONList :: Value -> Parser [SetOrInterval a] | |
FromJSON a => FromJSON (CIType a) Source # | |
ToJSON a => ToJSON (ClosedInterval a) Source # | |
Methods toJSON :: ClosedInterval a -> Value toEncoding :: ClosedInterval a -> Encoding toJSONList :: [ClosedInterval a] -> Value toEncodingList :: [ClosedInterval a] -> Encoding | |
(Ord a, ToJSON a) => ToJSON (SetOrInterval a) Source # | |
Methods toJSON :: SetOrInterval a -> Value toEncoding :: SetOrInterval a -> Encoding toJSONList :: [SetOrInterval a] -> Value toEncodingList :: [SetOrInterval a] -> Encoding | |
ToJSON a => ToJSON (CIType a) Source # | |
Methods toEncoding :: CIType a -> Encoding toJSONList :: [CIType a] -> Value toEncodingList :: [CIType a] -> Encoding | |
ShATermConvertible a => ShATermConvertible (ClosedInterval a) Source # | |
Methods toShATermAux :: ATermTable -> ClosedInterval a -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [ClosedInterval a] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, ClosedInterval a) fromShATermList' :: Int -> ATermTable -> (ATermTable, [ClosedInterval a]) | |
(Ord a, ShATermConvertible a) => ShATermConvertible (SetOrInterval a) Source # | |
Methods toShATermAux :: ATermTable -> SetOrInterval a -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [SetOrInterval a] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, SetOrInterval a) fromShATermList' :: Int -> ATermTable -> (ATermTable, [SetOrInterval a]) | |
ShATermConvertible a => ShATermConvertible (CIType a) Source # | |
Methods toShATermAux :: ATermTable -> CIType a -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [CIType a] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, CIType a) fromShATermList' :: Int -> ATermTable -> (ATermTable, [CIType a]) |