git.iko.soy/typeable/servant
on master help sign in
Fix readme list
commitd6aee29be1e9f89d75c4bc6b921de69be38b3fd4 authorJulian K. Arni <jkarni@gmail.com> dateWed 13 Sep 2017, 12:57 (9 years ago) parent257c3d4
1 file changed+6−6
servant-client-core/README.md+6−6
servant-client-core/README.md+6−6
@@ -10,18 +10,18 @@ This library should mainly be of interest to backend- and combinator-writers.
1010
1111If you are creating a new backend, you'll need to:
1212
13− 1) Define a `RunClient` instance for your datatype (call it 'MyMonad')
14− 2) Define a `ClientLike` instance. This will look like:
13+1. Define a `RunClient` instance for your datatype (call it 'MyMonad')
14+2. Define a `ClientLike` instance. This will look like:
1515
1616``` haskell
1717instance ClientLike (MyMonad a) (MyMonad a) where
1818 mkClient = id
1919```
2020
21− 3) Re-export the module Servant.Client.Core.Reexport so that your end-users
22− can be blissfully unaware of 'servant-client-core', and so each
23− backend-package comes closer to the warm hearth of the drop-in-replacement
24− equivalence class.
21+3. Re-export the module Servant.Client.Core.Reexport so that your end-users
22+ can be blissfully unaware of 'servant-client-core', and so each
23+ backend-package comes closer to the warm hearth of the drop-in-replacement
24+ equivalence class.
2525
2626## For combinator-writers
2727