Go to file
Steve Purcell 5188e842a9 [servant-foreign] Parameterise type classes with a foreign representation type
We allow a user-specified type to represent the foreign type of haskell
types encountered in the API. This lets users map Integer, Date etc. to
representations other than Text, and have those representations
available in the returned list of Req.

For example, we might want to map a type which has an instance of
Generic to both a foreign type name and a class declaration for that
foreign type such that it can encode/decode itself to JSON. The previous
limitation to a single Text output prevented this case.
2016-03-14 10:34:53 +13:00
scripts Use env bash rather than /bin/bash. 2015-12-25 15:50:28 +01:00
servant Move general authentication to Experimental module 2016-03-09 22:30:34 +01:00
servant-blaze Change copyright to servant contributors 2016-01-20 16:58:29 +01:00
servant-cassava Change copyright to servant contributors 2016-01-20 16:58:29 +01:00
servant-client Move general authentication to Experimental module 2016-03-09 22:30:34 +01:00
servant-docs Update CHANGELOG for basic authentication support 2016-03-08 23:13:05 +01:00
servant-examples Move general authentication to Experimental module 2016-03-09 22:30:34 +01:00
servant-foreign [servant-foreign] Parameterise type classes with a foreign representation type 2016-03-14 10:34:53 +13:00
servant-js [servant-foreign] Parameterise type classes with a foreign representation type 2016-03-14 10:34:53 +13:00
servant-lucid Change copyright to servant contributors 2016-01-20 16:58:29 +01:00
servant-mock renaming: Config -> Context 2016-03-07 23:12:24 +08:00
servant-server Move general authentication to Experimental module 2016-03-09 22:30:34 +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 server: added Config machinery 2016-01-21 17:55:02 +01:00
CONTRIBUTING.md Merge pull request #330 from haskell-servant/jkarni/at-maintainers 2016-01-16 17:59:22 +01:00
HLint.hs Contributing 2015-08-17 23:50:42 +02:00
README.md First pass at CONTRIBUTING 2016-01-07 00:53:17 +01: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 updated stack-ghc-7.8.4.yaml 2016-01-21 17:55:02 +01:00
stack.yaml server: added Config machinery 2016-01-21 17:55:02 +01: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

See CONTRIBUTING.md