Data.JsonRpc.Response
newtype Response e a Source #
Constructors
Defined in Data.JsonRpc.Response
Methods
fmap :: (a -> b) -> Response e a -> Response e b #
(<$) :: a -> Response e b -> Response e a #
(==) :: Response e a -> Response e a -> Bool #
(/=) :: Response e a -> Response e a -> Bool #
showsPrec :: Int -> Response e a -> ShowS #
show :: Response e a -> String #
showList :: [Response e a] -> ShowS #
Defined in Data.JsonRpc.Instances
toJSON :: Response e a -> Value #
toEncoding :: Response e a -> Encoding #
toJSONList :: [Response e a] -> Value #
toEncodingList :: [Response e a] -> Encoding #
parseJSON :: Value -> Parser (Response e a) #
parseJSONList :: Value -> Parser [Response e a] #