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:
1) Define a `RunClient` instance for your datatype (call it 'MyMonad')
2) Define a `ClientLike` instance. This will look like:
1. Define a `RunClient` instance for your datatype (call it 'MyMonad')
2. Define a `ClientLike` instance. This will look like:
``` haskell
instance ClientLike (MyMonad a) (MyMonad a) where
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
backend-package comes closer to the warm hearth of the drop-in-replacement
equivalence class.