No description
Find a file
Andres Loeh b1a6d88845 Revise the Router type to allow proper sharing.
We've previously used functions in the Router type to provide
information for subrouters. But this accesses the Requests too
early, and breaks sharing of the router structure in general,
causing the Router or large parts of the Router to be recomputed
on every request.

We now do not use functions anymore, and properly compute all
static parts of the router first, and gain access to the request
only in Delayed.

This also turns the code used within Delayed into a proper monad
now called DelayedIO, making some of the code using it a bit
nicer.
2016-04-12 09:38:49 +02:00
doc Introduce a Handler alias for ExceptT ServantErr IO 2016-04-11 22:27:29 -07:00
scripts move doc/tutorial out of sources.txt 2016-04-04 16:22:11 +08:00
servant Add ReflectMethod instances for OPTIONS, TRACE, and CONNECT 2016-04-11 11:50:15 +08:00
servant-blaze version bump 2016-04-07 18:24:29 +08:00
servant-cassava version bump 2016-04-07 18:24:29 +08:00
servant-client Introduce a Handler alias for ExceptT ServantErr IO 2016-04-11 22:27:29 -07:00
servant-docs Sort out this changelog situation 2016-04-11 21:54:04 -07:00
servant-foreign version bump 2016-04-07 18:24:29 +08:00
servant-js version bump 2016-04-07 18:24:29 +08:00
servant-lucid version bump 2016-04-07 18:24:29 +08:00
servant-mock Introduce a Handler alias for ExceptT ServantErr IO 2016-04-11 22:27:29 -07:00
servant-server Revise the Router type to allow proper sharing. 2016-04-12 09:38:49 +02:00
.gitignore tutorial: update .gitignore 2016-03-19 17:40:00 +08:00
.stylish-haskell.yaml Contributing 2015-08-17 23:50:42 +02:00
.travis.yml move travis script into a file 2016-04-04 16:22:11 +08: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 sources.txt: prefer servant-server and servant-client 2016-04-07 18:07:39 +08:00
stack-ghc-7.8.4.yaml use base-compat 2016-03-13 12:42:41 +03:00
stack.yaml Fix compilation 2016-03-19 17:40:00 +08:00
travis.sh move doc/tutorial out of sources.txt 2016-04-04 16:22:11 +08: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