packages feed

mig-client 0.1.0.1 → 0.1.1.0

raw patch · 2 files changed

+2/−7 lines, 2 filesdep ~migPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: mig

API changes (from Hackage documentation)

- Mig.Client: data (:|) a b
- Mig.Client: instance (Mig.Client.MapRequest a, Mig.Client.MapRequest b) => Mig.Client.MapRequest (a Mig.Client.:| b)
- Mig.Client: instance (Mig.Client.ToClient a, Mig.Client.ToClient b) => Mig.Client.ToClient (a Mig.Client.:| b)
+ Mig.Client: data a :| b
+ Mig.Client: instance (Mig.Client.MapRequest a, Mig.Client.MapRequest b) => Mig.Client.MapRequest (a Mig.Core.Types.Pair.:| b)
+ Mig.Client: instance (Mig.Client.ToClient a, Mig.Client.ToClient b) => Mig.Client.ToClient (a Mig.Core.Types.Pair.:| b)

Files

mig-client.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:               mig-client-version:            0.1.0.1+version:            0.1.1.0 synopsis:           Build http-clients from API definition for mig servers description:        With this library we can build client functions for HTTP-applications                     from the same code as server definition.@@ -50,7 +50,7 @@     , http-client     , http-media     , http-types-    , mig >=0.2.0.1+    , mig >=0.2.1.0     , mtl     , text   default-language: GHC2021
src/Mig/Client.hs view
@@ -39,11 +39,6 @@  import Mig.Core -{-| Infox synonym for pair. It can be useful to stack together-many client functions in the output of @toClient@ function.--}-data (:|) a b = a :| b- instance (ToClient a, ToClient b) => ToClient (a :| b) where   toClient api = a :| b     where