No description
Find a file
aaron levin 1cacf850bf First attempt at BasicAuth combinators
Add `authVal` to BasicAuth, assist type inference

Type inference is difficult with `BasicAuth` and  `BasicAuthLookup`.
This is because `BasicAuthLookup` introduces a type variable `authVal`
and is not bound to anything when used in the context of `HasServer`'s
type.

Servant compiles (temp commit - delete)
2015-10-01 15:21:11 +02:00
scripts Rename update-nix-files to generate-nix-files 2015-09-08 20:39:20 +01:00
servant First attempt at BasicAuth combinators 2015-10-01 15:21:11 +02:00
servant-blaze Remove auto-generated nix files 2015-09-08 20:36:54 +01:00
servant-cassava Remove auto-generated nix files 2015-09-08 20:36:54 +01:00
servant-client Changelog updates and 7.8 fixes. 2015-09-28 18:24:27 +02:00
servant-docs Fix docs for ToSamples 2015-09-24 15:25:58 +03:00
servant-examples unsafegetmeamanager 2015-09-28 18:07:12 +02:00
servant-foreign CPP NullaryTypeClass 2015-09-23 20:39:46 +02:00
servant-js More Werror fixes 2015-09-23 20:30:45 +02:00
servant-lucid Remove auto-generated nix files 2015-09-08 20:36:54 +01:00
servant-mock Janitoring 2015-09-23 20:18:52 +02:00
servant-server First attempt at BasicAuth combinators 2015-10-01 15:21:11 +02:00
.ghci added servant/.ghci 2014-10-31 15:49:05 +01:00
.gitignore Ignore auto-generated nix files 2015-09-08 20:37:49 +01:00
.stylish-haskell.yaml Contributing 2015-08-17 23:50:42 +02:00
.travis.yml Use --ghc-options rather than --pendantic. 2015-09-23 20:18:52 +02:00
HLint.hs Contributing 2015-08-17 23:50:42 +02:00
README.md Don't self-promote at all 2015-09-20 14:14:09 +02:00
servant.png Update READMEs 2015-04-20 15:48:37 +02:00
sources.txt Extract common code-generation stuff to servant-foreign 2015-09-21 20:59:09 +03:00
stack-ghc-7.8.4.yaml Merge pull request #232 from dredozubov/servant-foreign 2015-09-23 14:41:59 +02:00
stack.yaml Further cleanup 2015-09-23 20:18:52 +02:00

servant - A Type-Level Web DSL

servant

Getting Started

We have a tutorial that introduces the core features of servant. After this article, you should be able to write your first servant webservices, learning the rest from the haddocks' examples.

Other blog posts, videos and slides can be found on the website.

If you need help, drop by the IRC channel (#servant on freenode) or mailing list.

Contributing

Contributions are very welcome! To hack on the github version, clone the repository. You can use cabal:

./scripts/start-sandbox.sh # Initialize the sandbox and add-source the packages
./scripts/test-all.sh      # Run all the tests

stack:

stack build    # Install and build packages
stack test     # Run all the tests

Or nix:

./scripts/generate-nix-files.sh   # Get up-to-date shell.nix files

Though we aren't sticklers for style, the .stylish-haskell.yaml and HLint.hs files in the repository provide a good baseline for consistency.

Please include a description of the changes in your PR in the CHANGELOG.md of the packages you've changed. And of course, write tests!