Commit graph

1055 commits

Author SHA1 Message Date
Sönke Hahn
b97a352773 tutorial: updated Javascript.lhs (and wrote some tests for it) 2016-03-19 17:40:00 +08:00
rwobben
0985e51022 deleted the Trans.Monad.Except 2016-03-19 17:40:00 +08:00
Sönke Hahn
027cd82725 tutorial: corrected curl examples 2016-03-19 17:40:00 +08:00
rwobben
1b928878dd added aeson-compat to the cabal file 2016-03-19 17:40:00 +08:00
Sönke Hahn
8e4ab06030 tutorial: read through Docs.lhs 2016-03-19 17:40:00 +08:00
Sönke Hahn
ac02a28527 tutorial: formatting for bash sections 2016-03-19 17:40:00 +08:00
Sönke Hahn
2716d508e8 tutorial: read through Client.lhs 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
rwobben
e68cf28750 change a dependency and delete EmptyConfig 2016-03-19 17:40:00 +08:00
Sönke Hahn
434c163aa1 tutorial: read through ApiType.lhs 2016-03-19 17:40:00 +08:00
Sönke Hahn
140da7a7b0 tutorial: tweaks 2016-03-19 17:40:00 +08:00
Sönke Hahn
71a21403a0 tutorial: tweak index page 2016-03-19 17:40:00 +08:00
Sönke Hahn
23d6671c6c tutorial: tweak some titles 2016-03-19 17:40:00 +08:00
Sönke Hahn
9263f9790f tutorial: restructuring 2016-03-19 17:40:00 +08:00
Julian K. Arni
5625f5273e more consistent line breaks 2016-03-19 17:40:00 +08:00
Julian K. Arni
0daa8048c4 Remove stale next/previous 2016-03-19 17:40:00 +08:00
Julian K. Arni
e1312c1bb6 sundry tutorial improvements 2016-03-19 17:40:00 +08:00
rwobben
9d2d7104d0 Changed so two titles are displayed correctly 2016-03-19 17:40:00 +08:00
Oleg Grenrus
73ab3062ab Use rst links syntax (it's not a markdown) 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
Sönke Hahn
7445d56c68 tutorial: make Docs.lhs compile 2016-03-19 17:40:00 +08:00
Sönke Hahn
678d50796b tutorial: fix for ghc-7.8 2016-03-19 17:40:00 +08:00
Sönke Hahn
6cb529fc5f tutorial: added working .ghci 2016-03-19 17:40:00 +08:00
Sönke Hahn
a7424c4753 tutorial: make Server compile 2016-03-19 17:39:59 +08:00
Sönke Hahn
ad48c0efa6 tutorial: allow older ghcs in cabal file 2016-03-19 17:39:59 +08:00
Sönke Hahn
df363cecb0 tutorial: make Client.lhs compile 2016-03-19 17:39:59 +08:00
Andres Loeh
52b1a233fe Add / expand the documentation of the NoContent case. 2016-03-19 17:39:59 +08:00
Andres Loeh
21426a223e Rewrite the part on verbs. 2016-03-19 17:39:59 +08:00
Sönke Hahn
4fbf28c3c0 tutorial: add markdown-unlit as a cabal dependency 2016-03-19 17:39:59 +08:00
Sönke Hahn
207d51bbf9 docs: add documentation on how to build the docs locally 2016-03-19 17:39:59 +08:00
Sönke Hahn
c53945098d tutorial: compile during CI 2016-03-19 17:39:59 +08:00
Julian K. Arni
8990ebb16e Fix toctree and page titles 2016-03-19 17:39:59 +08:00
Julian K. Arni
8e63078691 compiling ApiType.lhs 2016-03-19 17:39:59 +08:00
Julian K. Arni
c6dfac5203 Remove matrix params 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
Julian K. Arni
a7c3880c67 Remove convert script 2016-03-19 17:39:59 +08:00
Julian K. Arni
8b1bf02af8 Remove bird-tracks 2016-03-19 17:39:59 +08:00
Julian K. Arni
7af73d63ea Explicit ignore 2016-03-19 17:39:59 +08:00
Julian K. Arni
5542ce8916 Start tutorial project 2016-03-19 17:39:59 +08:00
Julian K. Arni
62fffed1f1 Remove servant-examples 2016-03-19 17:39:59 +08:00
Sönke Hahn
db602e8a79 tutorial: add tutorial compiling script and conversion script 2016-03-19 17:39:59 +08:00
Sönke Hahn
1d4e3a1e5b Moved tutorial to servant-examples/tutorial and include it in doc/index.rst 2016-03-19 17:39:59 +08:00
Sönke Hahn
7bb393fe17 switch to rtd default theme 2016-03-19 17:39:59 +08:00
Julian K. Arni
6c0a7ba8d8 Fix links 2016-03-19 17:39:59 +08:00
Julian K. Arni
3b3c929b40 Move tutorial files over 2016-03-19 17:39:59 +08:00
Nickolay Kudasov
94e07f9519 Add basic configuration for Read The Docs (based on Stack's) 2016-03-19 17:39:59 +08:00
Sönke Hahn
d96a8a0f3a add README for release process 2016-03-19 17:21:05 +08:00
Julian Arni
da1beba7f4 Merge pull request #404 from haskell-servant/base-compat
prefer base-compat to CPP macros
2016-03-18 13:53:13 +01:00
Denis Redozubov
f5fe9a060c Merge pull request #351 from purcell/variable-foreign-types
servant-foreign: don't constrain ForeignType to Text
2016-03-15 09:40:53 +03:00
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