rest-types 1.14.0.1 → 1.14.1
raw patch · 6 files changed
+35/−11 lines, 6 filesdep +base-compatdep ~basePVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependencies added: base-compat
Dependency ranges changed: base
API changes (from Hackage documentation)
- Rest.Types.Container: count :: List a -> Int
- Rest.Types.Container: instance Constructor C1_0List
- Rest.Types.Container: instance Datatype D1List
- Rest.Types.Container: instance FromJSON a => FromJSON (List a)
- Rest.Types.Container: instance Generic (List a)
- Rest.Types.Container: instance JSONSchema SomeOutput
- Rest.Types.Container: instance JSONSchema a => JSONSchema (List a)
- Rest.Types.Container: instance Selector S1_0_0List
- Rest.Types.Container: instance Selector S1_0_1List
- Rest.Types.Container: instance Selector S1_0_2List
- Rest.Types.Container: instance Show a => Show (List a)
- Rest.Types.Container: instance ToJSON SomeOutput
- Rest.Types.Container: instance ToJSON a => ToJSON (List a)
- Rest.Types.Container: instance Typeable List
- Rest.Types.Container: instance Typeable SomeOutput
- Rest.Types.Container: instance XmlPickler SomeOutput
- Rest.Types.Container: instance XmlPickler a => XmlPickler (List a)
- Rest.Types.Container: items :: List a -> [a]
- Rest.Types.Container: offset :: List a -> Int
- Rest.Types.Container.Resource: headers :: Resource -> CaseInsensitiveKeyValues
- Rest.Types.Container.Resource: input :: Resource -> String
- Rest.Types.Container.Resource: instance Constructor C1_0Resource
- Rest.Types.Container.Resource: instance Constructor C1_0Resources
- Rest.Types.Container.Resource: instance Datatype D1Resource
- Rest.Types.Container.Resource: instance Datatype D1Resources
- Rest.Types.Container.Resource: instance FromJSON Resource
- Rest.Types.Container.Resource: instance FromJSON Resources
- Rest.Types.Container.Resource: instance FromJSON Value
- Rest.Types.Container.Resource: instance Generic Resource
- Rest.Types.Container.Resource: instance Generic Resources
- Rest.Types.Container.Resource: instance JSONSchema Resource
- Rest.Types.Container.Resource: instance JSONSchema Resources
- Rest.Types.Container.Resource: instance JSONSchema Value
- Rest.Types.Container.Resource: instance Selector S1_0_0Resource
- Rest.Types.Container.Resource: instance Selector S1_0_1Resource
- Rest.Types.Container.Resource: instance Selector S1_0_2Resource
- Rest.Types.Container.Resource: instance Selector S1_0_3Resource
- Rest.Types.Container.Resource: instance Selector S1_0_4Resource
- Rest.Types.Container.Resource: instance Show Resource
- Rest.Types.Container.Resource: instance Show Value
- Rest.Types.Container.Resource: instance ToJSON Resource
- Rest.Types.Container.Resource: instance ToJSON Resources
- Rest.Types.Container.Resource: instance ToJSON Value
- Rest.Types.Container.Resource: instance Typeable Resource
- Rest.Types.Container.Resource: instance Typeable Resources
- Rest.Types.Container.Resource: instance Typeable Value
- Rest.Types.Container.Resource: instance XmlPickler Resource
- Rest.Types.Container.Resource: instance XmlPickler Resources
- Rest.Types.Container.Resource: instance XmlPickler Value
- Rest.Types.Container.Resource: method :: Resource -> Method
- Rest.Types.Container.Resource: parameters :: Resource -> KeyValues
- Rest.Types.Container.Resource: unValue :: Value -> String
- Rest.Types.Container.Resource: uri :: Resource -> String
- Rest.Types.Error: instance (Eq a, Eq b) => Eq (Status a b)
- Rest.Types.Error: instance (FromJSON a, FromJSON b) => FromJSON (Status a b)
- Rest.Types.Error: instance (JSONSchema a, JSONSchema b) => JSONSchema (Status a b)
- Rest.Types.Error: instance (Show a, Show b) => Show (Status a b)
- Rest.Types.Error: instance (ToJSON a, ToJSON b) => ToJSON (Status a b)
- Rest.Types.Error: instance (XmlPickler a, XmlPickler b) => XmlPickler (Status a b)
- Rest.Types.Error: instance Applicative Reason
- Rest.Types.Error: instance Constructor C1_0DataError
- Rest.Types.Error: instance Constructor C1_0DomainReason
- Rest.Types.Error: instance Constructor C1_0Reason
- Rest.Types.Error: instance Constructor C1_0Status
- Rest.Types.Error: instance Constructor C1_10Reason
- Rest.Types.Error: instance Constructor C1_11Reason
- Rest.Types.Error: instance Constructor C1_12Reason
- Rest.Types.Error: instance Constructor C1_13Reason
- Rest.Types.Error: instance Constructor C1_1DataError
- Rest.Types.Error: instance Constructor C1_1Reason
- Rest.Types.Error: instance Constructor C1_1Status
- Rest.Types.Error: instance Constructor C1_2DataError
- Rest.Types.Error: instance Constructor C1_2Reason
- Rest.Types.Error: instance Constructor C1_3DataError
- Rest.Types.Error: instance Constructor C1_3Reason
- Rest.Types.Error: instance Constructor C1_4Reason
- Rest.Types.Error: instance Constructor C1_5Reason
- Rest.Types.Error: instance Constructor C1_6Reason
- Rest.Types.Error: instance Constructor C1_7Reason
- Rest.Types.Error: instance Constructor C1_8Reason
- Rest.Types.Error: instance Constructor C1_9Reason
- Rest.Types.Error: instance Datatype D1DataError
- Rest.Types.Error: instance Datatype D1DomainReason
- Rest.Types.Error: instance Datatype D1Reason
- Rest.Types.Error: instance Datatype D1Status
- Rest.Types.Error: instance Eq DataError
- Rest.Types.Error: instance Eq a => Eq (DomainReason a)
- Rest.Types.Error: instance Eq a => Eq (Reason a)
- Rest.Types.Error: instance Foldable (Status a)
- Rest.Types.Error: instance Foldable DomainReason
- Rest.Types.Error: instance Foldable Reason
- Rest.Types.Error: instance FromJSON DataError
- Rest.Types.Error: instance FromJSON a => FromJSON (DomainReason a)
- Rest.Types.Error: instance FromJSON e => FromJSON (Reason e)
- Rest.Types.Error: instance Functor (Status a)
- Rest.Types.Error: instance Functor DomainReason
- Rest.Types.Error: instance Functor Reason
- Rest.Types.Error: instance Generic (DomainReason a)
- Rest.Types.Error: instance Generic (Reason a)
- Rest.Types.Error: instance Generic (Status a b)
- Rest.Types.Error: instance Generic DataError
- Rest.Types.Error: instance JSONSchema DataError
- Rest.Types.Error: instance JSONSchema SomeReason
- Rest.Types.Error: instance JSONSchema a => JSONSchema (DomainReason a)
- Rest.Types.Error: instance JSONSchema e => JSONSchema (Reason e)
- Rest.Types.Error: instance Monad Reason
- Rest.Types.Error: instance Selector S1_0_0DomainReason
- Rest.Types.Error: instance Show DataError
- Rest.Types.Error: instance Show a => Show (DomainReason a)
- Rest.Types.Error: instance Show a => Show (Reason a)
- Rest.Types.Error: instance ToJSON DataError
- Rest.Types.Error: instance ToJSON SomeReason
- Rest.Types.Error: instance ToJSON a => ToJSON (DomainReason a)
- Rest.Types.Error: instance ToJSON e => ToJSON (Reason e)
- Rest.Types.Error: instance ToResponseCode Void
- Rest.Types.Error: instance ToResponseCode a => ToResponseCode (Reason a)
- Rest.Types.Error: instance Traversable (Status a)
- Rest.Types.Error: instance Traversable DomainReason
- Rest.Types.Error: instance Traversable Reason
- Rest.Types.Error: instance Typeable Reason
- Rest.Types.Error: instance Typeable SomeReason
- Rest.Types.Error: instance Typeable Status
- Rest.Types.Error: instance XmlPickler DataError
- Rest.Types.Error: instance XmlPickler SomeReason
- Rest.Types.Error: instance XmlPickler a => XmlPickler (DomainReason a)
- Rest.Types.Error: instance XmlPickler e => XmlPickler (Reason e)
- Rest.Types.Error: reason :: DomainReason a -> a
- Rest.Types.Info: instance Info Int
- Rest.Types.Info: instance Info Integer
- Rest.Types.Info: instance Info String
- Rest.Types.Info: instance Info Text
- Rest.Types.Method: instance Bounded Method
- Rest.Types.Method: instance Enum Method
- Rest.Types.Method: instance Eq Method
- Rest.Types.Method: instance FromJSON Method
- Rest.Types.Method: instance JSONSchema Method
- Rest.Types.Method: instance Show Method
- Rest.Types.Method: instance ToJSON Method
- Rest.Types.Method: instance XmlPickler Method
- Rest.Types.Range: count :: Range -> Int
- Rest.Types.Range: offset :: Range -> Int
- Rest.Types.ShowUrl: instance ShowUrl Int
- Rest.Types.ShowUrl: instance ShowUrl Integer
- Rest.Types.ShowUrl: instance ShowUrl String
- Rest.Types.ShowUrl: instance ShowUrl Text
- Rest.Types.ShowUrl: instance ShowUrl UUID
- Rest.Types.Void: instance Datatype D1Void
- Rest.Types.Void: instance Eq Void
- Rest.Types.Void: instance FromJSON Void
- Rest.Types.Void: instance Generic Void
- Rest.Types.Void: instance JSONSchema Void
- Rest.Types.Void: instance Ord Void
- Rest.Types.Void: instance Read Void
- Rest.Types.Void: instance Show Void
- Rest.Types.Void: instance ToJSON Void
- Rest.Types.Void: instance Typeable Void
- Rest.Types.Void: instance XmlPickler Void
- Rest.Types.Void: magic :: Void -> forall a. a
+ Rest.Types.Container: [count] :: List a -> Int
+ Rest.Types.Container: [items] :: List a -> [a]
+ Rest.Types.Container: [offset] :: List a -> Int
+ Rest.Types.Container: instance Data.Aeson.Types.Class.FromJSON a => Data.Aeson.Types.Class.FromJSON (Rest.Types.Container.List a)
+ Rest.Types.Container: instance Data.Aeson.Types.Class.ToJSON Rest.Types.Container.SomeOutput
+ Rest.Types.Container: instance Data.Aeson.Types.Class.ToJSON a => Data.Aeson.Types.Class.ToJSON (Rest.Types.Container.List a)
+ Rest.Types.Container: instance Data.Foldable.Foldable Rest.Types.Container.List
+ Rest.Types.Container: instance Data.JSON.Schema.Types.JSONSchema Rest.Types.Container.SomeOutput
+ Rest.Types.Container: instance Data.JSON.Schema.Types.JSONSchema a => Data.JSON.Schema.Types.JSONSchema (Rest.Types.Container.List a)
+ Rest.Types.Container: instance Data.Traversable.Traversable Rest.Types.Container.List
+ Rest.Types.Container: instance GHC.Base.Functor Rest.Types.Container.List
+ Rest.Types.Container: instance GHC.Classes.Eq a => GHC.Classes.Eq (Rest.Types.Container.List a)
+ Rest.Types.Container: instance GHC.Classes.Ord a => GHC.Classes.Ord (Rest.Types.Container.List a)
+ Rest.Types.Container: instance GHC.Generics.Constructor Rest.Types.Container.C1_0List
+ Rest.Types.Container: instance GHC.Generics.Datatype Rest.Types.Container.D1List
+ Rest.Types.Container: instance GHC.Generics.Generic (Rest.Types.Container.List a)
+ Rest.Types.Container: instance GHC.Generics.Selector Rest.Types.Container.S1_0_0List
+ Rest.Types.Container: instance GHC.Generics.Selector Rest.Types.Container.S1_0_1List
+ Rest.Types.Container: instance GHC.Generics.Selector Rest.Types.Container.S1_0_2List
+ Rest.Types.Container: instance GHC.Read.Read a => GHC.Read.Read (Rest.Types.Container.List a)
+ Rest.Types.Container: instance GHC.Show.Show a => GHC.Show.Show (Rest.Types.Container.List a)
+ Rest.Types.Container: instance Text.XML.HXT.Arrow.Pickle.Xml.XmlPickler Rest.Types.Container.SomeOutput
+ Rest.Types.Container: instance Text.XML.HXT.Arrow.Pickle.Xml.XmlPickler a => Text.XML.HXT.Arrow.Pickle.Xml.XmlPickler (Rest.Types.Container.List a)
+ Rest.Types.Container.Resource: [headers] :: Resource -> CaseInsensitiveKeyValues
+ Rest.Types.Container.Resource: [input] :: Resource -> String
+ Rest.Types.Container.Resource: [method] :: Resource -> Method
+ Rest.Types.Container.Resource: [parameters] :: Resource -> KeyValues
+ Rest.Types.Container.Resource: [unValue] :: Value -> String
+ Rest.Types.Container.Resource: [uri] :: Resource -> String
+ Rest.Types.Container.Resource: instance Data.Aeson.Types.Class.FromJSON Rest.Types.Container.Resource.Resource
+ Rest.Types.Container.Resource: instance Data.Aeson.Types.Class.FromJSON Rest.Types.Container.Resource.Resources
+ Rest.Types.Container.Resource: instance Data.Aeson.Types.Class.FromJSON Rest.Types.Container.Resource.Value
+ Rest.Types.Container.Resource: instance Data.Aeson.Types.Class.ToJSON Rest.Types.Container.Resource.Resource
+ Rest.Types.Container.Resource: instance Data.Aeson.Types.Class.ToJSON Rest.Types.Container.Resource.Resources
+ Rest.Types.Container.Resource: instance Data.Aeson.Types.Class.ToJSON Rest.Types.Container.Resource.Value
+ Rest.Types.Container.Resource: instance Data.JSON.Schema.Types.JSONSchema Rest.Types.Container.Resource.Resource
+ Rest.Types.Container.Resource: instance Data.JSON.Schema.Types.JSONSchema Rest.Types.Container.Resource.Resources
+ Rest.Types.Container.Resource: instance Data.JSON.Schema.Types.JSONSchema Rest.Types.Container.Resource.Value
+ Rest.Types.Container.Resource: instance GHC.Generics.Constructor Rest.Types.Container.Resource.C1_0Resource
+ Rest.Types.Container.Resource: instance GHC.Generics.Constructor Rest.Types.Container.Resource.C1_0Resources
+ Rest.Types.Container.Resource: instance GHC.Generics.Datatype Rest.Types.Container.Resource.D1Resource
+ Rest.Types.Container.Resource: instance GHC.Generics.Datatype Rest.Types.Container.Resource.D1Resources
+ Rest.Types.Container.Resource: instance GHC.Generics.Generic Rest.Types.Container.Resource.Resource
+ Rest.Types.Container.Resource: instance GHC.Generics.Generic Rest.Types.Container.Resource.Resources
+ Rest.Types.Container.Resource: instance GHC.Generics.Selector Rest.Types.Container.Resource.S1_0_0Resource
+ Rest.Types.Container.Resource: instance GHC.Generics.Selector Rest.Types.Container.Resource.S1_0_1Resource
+ Rest.Types.Container.Resource: instance GHC.Generics.Selector Rest.Types.Container.Resource.S1_0_2Resource
+ Rest.Types.Container.Resource: instance GHC.Generics.Selector Rest.Types.Container.Resource.S1_0_3Resource
+ Rest.Types.Container.Resource: instance GHC.Generics.Selector Rest.Types.Container.Resource.S1_0_4Resource
+ Rest.Types.Container.Resource: instance GHC.Show.Show Rest.Types.Container.Resource.Resource
+ Rest.Types.Container.Resource: instance GHC.Show.Show Rest.Types.Container.Resource.Value
+ Rest.Types.Container.Resource: instance Text.XML.HXT.Arrow.Pickle.Xml.XmlPickler Rest.Types.Container.Resource.Resource
+ Rest.Types.Container.Resource: instance Text.XML.HXT.Arrow.Pickle.Xml.XmlPickler Rest.Types.Container.Resource.Resources
+ Rest.Types.Container.Resource: instance Text.XML.HXT.Arrow.Pickle.Xml.XmlPickler Rest.Types.Container.Resource.Value
+ Rest.Types.Error: [reason] :: DomainReason a -> a
+ Rest.Types.Error: instance (Data.Aeson.Types.Class.FromJSON a, Data.Aeson.Types.Class.FromJSON b) => Data.Aeson.Types.Class.FromJSON (Rest.Types.Error.Status a b)
+ Rest.Types.Error: instance (Data.Aeson.Types.Class.ToJSON a, Data.Aeson.Types.Class.ToJSON b) => Data.Aeson.Types.Class.ToJSON (Rest.Types.Error.Status a b)
+ Rest.Types.Error: instance (Data.JSON.Schema.Types.JSONSchema a, Data.JSON.Schema.Types.JSONSchema b) => Data.JSON.Schema.Types.JSONSchema (Rest.Types.Error.Status a b)
+ Rest.Types.Error: instance (GHC.Classes.Eq a, GHC.Classes.Eq b) => GHC.Classes.Eq (Rest.Types.Error.Status a b)
+ Rest.Types.Error: instance (GHC.Show.Show a, GHC.Show.Show b) => GHC.Show.Show (Rest.Types.Error.Status a b)
+ Rest.Types.Error: instance (Text.XML.HXT.Arrow.Pickle.Xml.XmlPickler a, Text.XML.HXT.Arrow.Pickle.Xml.XmlPickler b) => Text.XML.HXT.Arrow.Pickle.Xml.XmlPickler (Rest.Types.Error.Status a b)
+ Rest.Types.Error: instance Data.Aeson.Types.Class.FromJSON Rest.Types.Error.DataError
+ Rest.Types.Error: instance Data.Aeson.Types.Class.FromJSON a => Data.Aeson.Types.Class.FromJSON (Rest.Types.Error.DomainReason a)
+ Rest.Types.Error: instance Data.Aeson.Types.Class.FromJSON e => Data.Aeson.Types.Class.FromJSON (Rest.Types.Error.Reason e)
+ Rest.Types.Error: instance Data.Aeson.Types.Class.ToJSON Rest.Types.Error.DataError
+ Rest.Types.Error: instance Data.Aeson.Types.Class.ToJSON Rest.Types.Error.SomeReason
+ Rest.Types.Error: instance Data.Aeson.Types.Class.ToJSON a => Data.Aeson.Types.Class.ToJSON (Rest.Types.Error.DomainReason a)
+ Rest.Types.Error: instance Data.Aeson.Types.Class.ToJSON e => Data.Aeson.Types.Class.ToJSON (Rest.Types.Error.Reason e)
+ Rest.Types.Error: instance Data.Foldable.Foldable (Rest.Types.Error.Status a)
+ Rest.Types.Error: instance Data.Foldable.Foldable Rest.Types.Error.DomainReason
+ Rest.Types.Error: instance Data.Foldable.Foldable Rest.Types.Error.Reason
+ Rest.Types.Error: instance Data.JSON.Schema.Types.JSONSchema Rest.Types.Error.DataError
+ Rest.Types.Error: instance Data.JSON.Schema.Types.JSONSchema Rest.Types.Error.SomeReason
+ Rest.Types.Error: instance Data.JSON.Schema.Types.JSONSchema a => Data.JSON.Schema.Types.JSONSchema (Rest.Types.Error.DomainReason a)
+ Rest.Types.Error: instance Data.JSON.Schema.Types.JSONSchema e => Data.JSON.Schema.Types.JSONSchema (Rest.Types.Error.Reason e)
+ Rest.Types.Error: instance Data.Traversable.Traversable (Rest.Types.Error.Status a)
+ Rest.Types.Error: instance Data.Traversable.Traversable Rest.Types.Error.DomainReason
+ Rest.Types.Error: instance Data.Traversable.Traversable Rest.Types.Error.Reason
+ Rest.Types.Error: instance GHC.Base.Applicative Rest.Types.Error.Reason
+ Rest.Types.Error: instance GHC.Base.Functor (Rest.Types.Error.Status a)
+ Rest.Types.Error: instance GHC.Base.Functor Rest.Types.Error.DomainReason
+ Rest.Types.Error: instance GHC.Base.Functor Rest.Types.Error.Reason
+ Rest.Types.Error: instance GHC.Base.Monad Rest.Types.Error.Reason
+ Rest.Types.Error: instance GHC.Classes.Eq Rest.Types.Error.DataError
+ Rest.Types.Error: instance GHC.Classes.Eq a => GHC.Classes.Eq (Rest.Types.Error.DomainReason a)
+ Rest.Types.Error: instance GHC.Classes.Eq a => GHC.Classes.Eq (Rest.Types.Error.Reason a)
+ Rest.Types.Error: instance GHC.Generics.Constructor Rest.Types.Error.C1_0DataError
+ Rest.Types.Error: instance GHC.Generics.Constructor Rest.Types.Error.C1_0DomainReason
+ Rest.Types.Error: instance GHC.Generics.Constructor Rest.Types.Error.C1_0Reason
+ Rest.Types.Error: instance GHC.Generics.Constructor Rest.Types.Error.C1_0Status
+ Rest.Types.Error: instance GHC.Generics.Constructor Rest.Types.Error.C1_10Reason
+ Rest.Types.Error: instance GHC.Generics.Constructor Rest.Types.Error.C1_11Reason
+ Rest.Types.Error: instance GHC.Generics.Constructor Rest.Types.Error.C1_12Reason
+ Rest.Types.Error: instance GHC.Generics.Constructor Rest.Types.Error.C1_13Reason
+ Rest.Types.Error: instance GHC.Generics.Constructor Rest.Types.Error.C1_1DataError
+ Rest.Types.Error: instance GHC.Generics.Constructor Rest.Types.Error.C1_1Reason
+ Rest.Types.Error: instance GHC.Generics.Constructor Rest.Types.Error.C1_1Status
+ Rest.Types.Error: instance GHC.Generics.Constructor Rest.Types.Error.C1_2DataError
+ Rest.Types.Error: instance GHC.Generics.Constructor Rest.Types.Error.C1_2Reason
+ Rest.Types.Error: instance GHC.Generics.Constructor Rest.Types.Error.C1_3DataError
+ Rest.Types.Error: instance GHC.Generics.Constructor Rest.Types.Error.C1_3Reason
+ Rest.Types.Error: instance GHC.Generics.Constructor Rest.Types.Error.C1_4Reason
+ Rest.Types.Error: instance GHC.Generics.Constructor Rest.Types.Error.C1_5Reason
+ Rest.Types.Error: instance GHC.Generics.Constructor Rest.Types.Error.C1_6Reason
+ Rest.Types.Error: instance GHC.Generics.Constructor Rest.Types.Error.C1_7Reason
+ Rest.Types.Error: instance GHC.Generics.Constructor Rest.Types.Error.C1_8Reason
+ Rest.Types.Error: instance GHC.Generics.Constructor Rest.Types.Error.C1_9Reason
+ Rest.Types.Error: instance GHC.Generics.Datatype Rest.Types.Error.D1DataError
+ Rest.Types.Error: instance GHC.Generics.Datatype Rest.Types.Error.D1DomainReason
+ Rest.Types.Error: instance GHC.Generics.Datatype Rest.Types.Error.D1Reason
+ Rest.Types.Error: instance GHC.Generics.Datatype Rest.Types.Error.D1Status
+ Rest.Types.Error: instance GHC.Generics.Generic (Rest.Types.Error.DomainReason a)
+ Rest.Types.Error: instance GHC.Generics.Generic (Rest.Types.Error.Reason a)
+ Rest.Types.Error: instance GHC.Generics.Generic (Rest.Types.Error.Status a b)
+ Rest.Types.Error: instance GHC.Generics.Generic Rest.Types.Error.DataError
+ Rest.Types.Error: instance GHC.Generics.Selector Rest.Types.Error.S1_0_0DomainReason
+ Rest.Types.Error: instance GHC.Show.Show Rest.Types.Error.DataError
+ Rest.Types.Error: instance GHC.Show.Show a => GHC.Show.Show (Rest.Types.Error.DomainReason a)
+ Rest.Types.Error: instance GHC.Show.Show a => GHC.Show.Show (Rest.Types.Error.Reason a)
+ Rest.Types.Error: instance Rest.Types.Error.ToResponseCode Rest.Types.Void.Void
+ Rest.Types.Error: instance Rest.Types.Error.ToResponseCode a => Rest.Types.Error.ToResponseCode (Rest.Types.Error.Reason a)
+ Rest.Types.Error: instance Text.XML.HXT.Arrow.Pickle.Xml.XmlPickler Rest.Types.Error.DataError
+ Rest.Types.Error: instance Text.XML.HXT.Arrow.Pickle.Xml.XmlPickler Rest.Types.Error.SomeReason
+ Rest.Types.Error: instance Text.XML.HXT.Arrow.Pickle.Xml.XmlPickler a => Text.XML.HXT.Arrow.Pickle.Xml.XmlPickler (Rest.Types.Error.DomainReason a)
+ Rest.Types.Error: instance Text.XML.HXT.Arrow.Pickle.Xml.XmlPickler e => Text.XML.HXT.Arrow.Pickle.Xml.XmlPickler (Rest.Types.Error.Reason e)
+ Rest.Types.Info: instance Rest.Types.Info.Info Data.Text.Internal.Text
+ Rest.Types.Info: instance Rest.Types.Info.Info GHC.Base.String
+ Rest.Types.Info: instance Rest.Types.Info.Info GHC.Integer.Type.Integer
+ Rest.Types.Info: instance Rest.Types.Info.Info GHC.Types.Int
+ Rest.Types.Method: instance Data.Aeson.Types.Class.FromJSON Rest.Types.Method.Method
+ Rest.Types.Method: instance Data.Aeson.Types.Class.ToJSON Rest.Types.Method.Method
+ Rest.Types.Method: instance Data.JSON.Schema.Types.JSONSchema Rest.Types.Method.Method
+ Rest.Types.Method: instance GHC.Classes.Eq Rest.Types.Method.Method
+ Rest.Types.Method: instance GHC.Enum.Bounded Rest.Types.Method.Method
+ Rest.Types.Method: instance GHC.Enum.Enum Rest.Types.Method.Method
+ Rest.Types.Method: instance GHC.Show.Show Rest.Types.Method.Method
+ Rest.Types.Method: instance Text.XML.HXT.Arrow.Pickle.Xml.XmlPickler Rest.Types.Method.Method
+ Rest.Types.Range: [count] :: Range -> Int
+ Rest.Types.Range: [offset] :: Range -> Int
+ Rest.Types.ShowUrl: instance Rest.Types.ShowUrl.ShowUrl Data.Text.Internal.Lazy.Text
+ Rest.Types.ShowUrl: instance Rest.Types.ShowUrl.ShowUrl Data.Text.Internal.Text
+ Rest.Types.ShowUrl: instance Rest.Types.ShowUrl.ShowUrl Data.UUID.Types.Internal.UUID
+ Rest.Types.ShowUrl: instance Rest.Types.ShowUrl.ShowUrl GHC.Base.String
+ Rest.Types.ShowUrl: instance Rest.Types.ShowUrl.ShowUrl GHC.Integer.Type.Integer
+ Rest.Types.ShowUrl: instance Rest.Types.ShowUrl.ShowUrl GHC.Types.Int
+ Rest.Types.Void: [magic] :: Void -> forall a. a
+ Rest.Types.Void: instance Data.Aeson.Types.Class.FromJSON Rest.Types.Void.Void
+ Rest.Types.Void: instance Data.Aeson.Types.Class.ToJSON Rest.Types.Void.Void
+ Rest.Types.Void: instance Data.JSON.Schema.Types.JSONSchema Rest.Types.Void.Void
+ Rest.Types.Void: instance GHC.Classes.Eq Rest.Types.Void.Void
+ Rest.Types.Void: instance GHC.Classes.Ord Rest.Types.Void.Void
+ Rest.Types.Void: instance GHC.Generics.Datatype Rest.Types.Void.D1Void
+ Rest.Types.Void: instance GHC.Generics.Generic Rest.Types.Void.Void
+ Rest.Types.Void: instance GHC.Read.Read Rest.Types.Void.Void
+ Rest.Types.Void: instance GHC.Show.Show Rest.Types.Void.Void
+ Rest.Types.Void: instance Text.XML.HXT.Arrow.Pickle.Xml.XmlPickler Rest.Types.Void.Void
Files
- CHANGELOG.md +7/−1
- rest-types.cabal +4/−3
- src/Rest/Types/Container.hs +4/−1
- src/Rest/Types/Error.hs +3/−3
- src/Rest/Types/Method.hs +6/−2
- src/Rest/Types/Void.hs +11/−1
CHANGELOG.md view
@@ -1,8 +1,14 @@ # Changelog +### 1.14.1++* `Add` instances of `Eq`, `Ord`, `Read`, `Functor`, `Foldable`, and+ `Traversable` for `List`.+* Fix compilation with GHC 8.+ #### 1.14.0.1 -* Allow `aeson 0.9.*`+* Allow `aeson 0.9.*` and (revision) `0.10.*` ## 1.14
rest-types.cabal view
@@ -1,5 +1,5 @@ name: rest-types-version: 1.14.0.1+version: 1.14.1 description: Silk Rest Framework Types synopsis: Silk Rest Framework Types maintainer: code@silk.co@@ -30,8 +30,9 @@ Rest.Types.ShowUrl Rest.Types.Void build-depends:- base == 4.*- , aeson >= 0.7 && < 0.10+ base >= 4.6 && < 4.10+ , aeson >= 0.7 && < 0.12+ , base-compat >= 0.8 && < 0.10 , case-insensitive >= 1.2 && < 1.3 , generic-aeson >= 0.1 && < 0.3 , hxt >= 9.2 && < 9.4
src/Rest/Types/Container.hs view
@@ -2,6 +2,9 @@ {-# LANGUAGE DeriveDataTypeable , DeriveGeneric+ , DeriveFunctor+ , DeriveFoldable+ , DeriveTraversable , EmptyDataDecls , FlexibleContexts , FlexibleInstances@@ -35,7 +38,7 @@ { offset :: Int , count :: Int , items :: [a]- } deriving (Generic, Show, Typeable)+ } deriving (Generic, Eq, Ord, Show, Read, Typeable, Functor, Foldable, Traversable) instance XmlPickler a => XmlPickler (List a) where xpickle = gxpickle instance ToJSON a => ToJSON (List a) where toJSON = gtoJson
src/Rest/Types/Error.hs view
@@ -6,6 +6,7 @@ , DeriveTraversable , EmptyDataDecls , GADTs+ , NoImplicitPrelude , ScopedTypeVariables , StandaloneDeriving #-}@@ -21,12 +22,11 @@ , ToResponseCode (..) ) where -import Control.Applicative (Applicative (..))+import Prelude.Compat+ import Control.Monad (ap) import Data.Aeson hiding (Success)-import Data.Foldable (Foldable) import Data.JSON.Schema (JSONSchema (..), gSchema)-import Data.Traversable (Traversable) import Data.Typeable import GHC.Generics import Generics.Generic.Aeson
src/Rest/Types/Method.hs view
@@ -1,7 +1,11 @@-{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE+ NoImplicitPrelude+ , OverloadedStrings+ #-} module Rest.Types.Method (Method (..)) where -import Control.Applicative+import Prelude.Compat+ import Data.Aeson (ToJSON (..), FromJSON (..)) import Data.Aeson.Types (typeMismatch) import Data.Char (toLower)
src/Rest/Types/Void.hs view
@@ -1,9 +1,13 @@ {-# LANGUAGE- DeriveDataTypeable+ CPP+ , DeriveDataTypeable , EmptyDataDecls , RankNTypes , TypeFamilies #-}+#if __GLASGOW_HASKELL__ >= 800+{-# LANGUAGE DataKinds #-}+#endif module Rest.Types.Void (Void (..)) where import Data.Aeson (FromJSON (..), ToJSON (..))@@ -50,12 +54,18 @@ -- | Generic. Can't derive it, sadly. instance Generic Void where+#if __GLASGOW_HASKELL__ >= 800+ type Rep Void = D1 ('MetaData "Void" "Rest.Types.Void" "rest-types" 'False) V1+#else type Rep Void = D1 D1Void V1+#endif from = magic to (M1 x) = x `seq` Void (error "Impossible: constructing a Void in Generic instance.") +#if __GLASGOW_HASKELL__ < 800 data D1Void instance Datatype D1Void where datatypeName _ = "Void" moduleName _ = "Rest.Types.Void"+#endif