Data.JsonRpc.Id
data Id Source #
Constructors
Defined in Data.JsonRpc.Id
Methods
(==) :: Id -> Id -> Bool #
(/=) :: Id -> Id -> Bool #
compare :: Id -> Id -> Ordering #
(<) :: Id -> Id -> Bool #
(<=) :: Id -> Id -> Bool #
(>) :: Id -> Id -> Bool #
(>=) :: Id -> Id -> Bool #
max :: Id -> Id -> Id #
min :: Id -> Id -> Id #
readsPrec :: Int -> ReadS Id #
readList :: ReadS [Id] #
readPrec :: ReadPrec Id #
readListPrec :: ReadPrec [Id] #
showsPrec :: Int -> Id -> ShowS #
show :: Id -> String #
showList :: [Id] -> ShowS #
Defined in Data.JsonRpc.Instances
toJSON :: Id -> Value #
toEncoding :: Id -> Encoding #
toJSONList :: [Id] -> Value #
toEncodingList :: [Id] -> Encoding #
parseJSON :: Value -> Parser Id #
parseJSONList :: Value -> Parser [Id] #
numberId :: (MonadPlus m, Applicative m) => Scientific -> m Id Source #