7The whole tutorial is a `cabal <https://cabal.readthedocs.io/en/latest/>`_
8project and can be built locally as follows:
12 $ git clone https://github.com/haskell-servant/servant.git
15 $ cabal new-build tutorial
16 # load in ghci to play with it
17 $ cabal new-repl tutorial
22The servant `stack <https://docs.haskellstack.org/en/stable/README/>`_ template includes the working tutorial. To initialize this template, run:
26 $ stack new myproj servant
31 $ stack exec myproj-exe
33The code can be found in the `*.lhs` files under `doc/tutorial/` in the
34repository. Feel free to edit it while you're reading this documentation and
35see the effect of your changes.
40`Nix <https://nixos.org/nix/>`_ users should feel free to take a look at
41the `nix/shell.nix` file in the repository and use it to provision a suitable
42environment to build and run the examples.
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list