packages feed

free-http 0.1.1.0 → 0.1.1.1

raw patch · 1 files changed

+2/−35 lines, 1 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

free-http.cabal view
@@ -1,6 +1,6 @@ name:                free-http -version:             0.1.1.0+version:             0.1.1.1  synopsis:            An HTTP Client based on Free Monads. @@ -9,40 +9,7 @@                      verbs as well as several backends to interpet programs                      written in the free monad using various http clients                      (currently: a pure client, an `http-client`-backed client,-                     and a random client).--                     To use free-http, simply:--                     1. Import Network.HTTP.Client.Free to use the library.-                     2. Choose your base request type by defining your own-                        instance of the `RequestType` type family or importing-                        one from an interpreter. E.g.--                        data MyClient-                        type instance RequestType MyClient = Request--                        (or)--                        import Network.HTTP.Free.Client.HttpClient (HttpClient)--                     3. Choose your base response type by defining your own-                        instance of the `ResponseTYpe` type family or importing-                        one from an interpreter. E.g. --                        type instance ResponseType MyClient = Response ByteString--                        (or)--                        import Network.HTTP.Free.Client.HttpClient (HttpClient)--                     4. Write a program in the 'FreeHttp MyClient m a' free monad.-                     5. Import an interpreter, such as 'HttpClient'--                        import Network.HTTP.Free.Client.HttpClient--                     6. Run your program against the interpreter:--                        runHttp (myProgram :: FreeHttp MyClient IO String)+                     and a random client). Please see the ReadMe for usage.  homepage:            https://github.com/aaronlevin/free-http