purescript-iso-0.0.0: Isomorphic trivial data type definitions over JSON

Safe HaskellNone
LanguageHaskell2010

Data.Aeson.JSONTuple

Documentation

data JSONTuple a b Source #

Constructors

JSONTuple a b 
Instances
(Eq a, Eq b) => Eq (JSONTuple a b) Source # 
Instance details

Defined in Data.Aeson.JSONTuple

Methods

(==) :: JSONTuple a b -> JSONTuple a b -> Bool #

(/=) :: JSONTuple a b -> JSONTuple a b -> Bool #

(Show a, Show b) => Show (JSONTuple a b) Source # 
Instance details

Defined in Data.Aeson.JSONTuple

Methods

showsPrec :: Int -> JSONTuple a b -> ShowS #

show :: JSONTuple a b -> String #

showList :: [JSONTuple a b] -> ShowS #

(Arbitrary a, Arbitrary b) => Arbitrary (JSONTuple a b) Source # 
Instance details

Defined in Data.Aeson.JSONTuple

Methods

arbitrary :: Gen (JSONTuple a b) #

shrink :: JSONTuple a b -> [JSONTuple a b] #

(ToJSON a, ToJSON b) => ToJSON (JSONTuple a b) Source # 
Instance details

Defined in Data.Aeson.JSONTuple

(FromJSON a, FromJSON b) => FromJSON (JSONTuple a b) Source # 
Instance details

Defined in Data.Aeson.JSONTuple

uncurryJSONTuple :: (a -> b -> c) -> JSONTuple a b -> c Source #