git.iko.soy/typeable/servant
on master help sign in
Fix formatting in doc/examples.md
f8fb618Oleg Grenrus
doc/examples.md+22−23
@@ -2,45 +2,44 @@
2
2
3- **[example-servant-minimal](https://github.com/haskell-servant/example-servant-minimal)**:
3- **[example-servant-minimal](https://github.com/haskell-servant/example-servant-minimal)**:
4
4
5− A minimal example for a web server written using **servant-server**,
5+ A minimal example for a web server written using **servant-server**,
6− including a test-suite using [**hspec**](http://hspec.github.io/) and
6+ including a test-suite using [**hspec**](http://hspec.github.io/) and
7− **servant-client**.
7+ **servant-client**.
8
8
9
9
10- **[stack-templates](https://github.com/commercialhaskell/stack-templates)**
10- **[stack-templates](https://github.com/commercialhaskell/stack-templates)**
11
11
12− Repository for templates for haskell projects, including some templates using
12+ Repository for templates for haskell projects, including some templates using
13− **servant**. These templates can be used with `stack new`.
13+ **servant**. These templates can be used with `stack new`.
14
14
15- **[custom-monad](https://github.com/themoritz/diener)**:
15- **[custom-monad](https://github.com/themoritz/diener)**:
16
16
17− A custom monad that can replace `IO` in servant applications. It adds among
17+ A custom monad that can replace `IO` in servant applications. It adds among
18− other things logging functionality and a reader monad (for database connections).
18+ other things logging functionality and a reader monad (for database connections).
19− A full usage example of servant/diener is also provided.
19+ A full usage example of servant/diener is also provided.
20−
21
20
22- **[example-servant-elm](https://github.com/haskell-servant/example-servant-elm)**:
21- **[example-servant-elm](https://github.com/haskell-servant/example-servant-elm)**:
23
22
24− An example for a project consisting of
23+ An example for a project consisting of
25
24
26− - a backend web server written using **servant-server**,
25+ - a backend web server written using **servant-server**,
27− - a frontend written in [elm](http://elm-lang.org/) using
26+ - a frontend written in [elm](http://elm-lang.org/) using
28− [servant-elm](https://github.com/mattjbray/servant-elm) to generate client
27+ [servant-elm](https://github.com/mattjbray/servant-elm) to generate client
29− functions in elm for the API,
28+ functions in elm for the API,
30− - test-suites for both the backend and the frontend.
29+ - test-suites for both the backend and the frontend.
31
30
32- **[servant-purescript](https://github.com/eskimor/servant-purescript/tree/master/examples/central-counter)**:
31- **[servant-purescript](https://github.com/eskimor/servant-purescript/tree/master/examples/central-counter)**:
33
32
34− An example consisting of
33+ An example consisting of
35
34
36− - a backend in uses `haskell-servant`
35+ - a backend in uses `haskell-servant`
37− - a frontend written in [PureScript](http://www.purescript.org/) using
36+ - a frontend written in [PureScript](http://www.purescript.org/) using
38− [servant-purescript](https://github.com/eskimor/servant-purescript) to generate
37+ [servant-purescript](https://github.com/eskimor/servant-purescript) to generate
39− an API wrapper in PureScript to interface the web API with
38+ an API wrapper in PureScript to interface the web API with
40
39
41
40
42- **[example-servant-persistent](https://github.com/haskell-servant/example-servant-persistent)**:
41- **[example-servant-persistent](https://github.com/haskell-servant/example-servant-persistent)**:
43
42
44− An example for a web server written with **servant-server** and
43+ An example for a web server written with **servant-server** and
45− [persistent](https://www.stackage.org/package/persistent) for writing data
44+ [persistent](https://www.stackage.org/package/persistent) for writing data
46− into a database.
45+ into a database.