Fix readme list

This commit is contained in:
Julian K. Arni 2017-09-13 12:57:18 -04:00
parent 257c3d4081
commit d6aee29be1

View file

@ -10,15 +10,15 @@ This library should mainly be of interest to backend- and combinator-writers.
If you are creating a new backend, you'll need to: If you are creating a new backend, you'll need to:
1) Define a `RunClient` instance for your datatype (call it 'MyMonad') 1. Define a `RunClient` instance for your datatype (call it 'MyMonad')
2) Define a `ClientLike` instance. This will look like: 2. Define a `ClientLike` instance. This will look like:
``` haskell ``` haskell
instance ClientLike (MyMonad a) (MyMonad a) where instance ClientLike (MyMonad a) (MyMonad a) where
mkClient = id mkClient = id
``` ```
3) Re-export the module Servant.Client.Core.Reexport so that your end-users 3. Re-export the module Servant.Client.Core.Reexport so that your end-users
can be blissfully unaware of 'servant-client-core', and so each can be blissfully unaware of 'servant-client-core', and so each
backend-package comes closer to the warm hearth of the drop-in-replacement backend-package comes closer to the warm hearth of the drop-in-replacement
equivalence class. equivalence class.