Commit graph

15 commits

Author SHA1 Message Date
David Turner
f5d9983381 Rename emptyAPIServer to emptyServer 2017-05-16 15:59:41 +00:00
David Turner
fa3f1869f2 Add EmptyForeignAPI and instance HasForeign ... EmptyAPI 2017-05-16 10:07:30 +00:00
Alp Mestanogullari
c655c6e474 tutorial fix 2017-01-17 14:14:46 +02:00
Alp Mestanogullari
8efabed5c6 Revamp static file serving module.
Instead of only exposing 'serveDirectory', which picks a specific static file
serving strategy (file server settings), we now expose 4 different variants each
corresponding to an variant of StaticSettings in wai-app-static.

In addition to these, we expose a more flexible 'serveDirectoryWith' function
which allows the user to specify some arbitrary StaticSettings, if the 4
existing variants do not cover a user's needs.
2017-01-17 14:14:46 +02:00
Julian K. Arni
b22e4e72f9 Review fixes 2016-08-17 13:37:34 -03:00
Julian K. Arni
7aa550aa05 Make Javascript tutorial compile. 2016-08-17 13:37:34 -03:00
freezeboy
9e71fde756 Fixing typo in Javascript.lhs 2016-08-17 13:37:34 -03:00
Julian K. Arni
95d077f586 Add more JS documentation.
Contributed by freezeboy in PR #11 -
    https://github.com/haskell-servant/haskell-servant.github.io/pull/11/files
2016-08-17 13:37:34 -03:00
Sönke Hahn
b97a352773 tutorial: updated Javascript.lhs (and wrote some tests for it) 2016-03-19 17:40:00 +08:00
Sönke Hahn
e84fea334a tutorial: read through Server.lhs 2016-03-19 17:40:00 +08:00
Sönke Hahn
23d6671c6c tutorial: tweak some titles 2016-03-19 17:40:00 +08:00
Julian K. Arni
0daa8048c4 Remove stale next/previous 2016-03-19 17:40:00 +08:00
Sönke Hahn
487746f9e0 tutorial: make Javascript.lhs compile 2016-03-19 17:40:00 +08:00
Julian K. Arni
8990ebb16e Fix toctree and page titles 2016-03-19 17:39:59 +08:00
Julian K. Arni
f601cbf3b1 Fix cabal file, stack.yaml, and sources.txt 2016-03-19 17:39:59 +08:00
Renamed from doc/tutorial/javascript.lhs (Browse further)