Commit graph

1547 commits

Author SHA1 Message Date
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
Denis Redozubov
460a0c90b4 more purging 2016-03-13 12:44:38 +03:00
Denis Redozubov
54273878b9 little improvements 2016-03-13 12:44:38 +03:00
Denis Redozubov
7484780013 import only (<>) from Data.Monoid 2016-03-13 12:44:12 +03:00
Denis Redozubov
a22a981190 update base-compat imports 2016-03-13 12:44:12 +03:00
Denis Redozubov
c755f47806 use base-compat in servant-server 2016-03-13 12:42:41 +03:00
Denis Redozubov
c528eb24ca use base-compat 2016-03-13 12:42:41 +03:00
Steve Purcell
207f05e759 [servant-foreign] Parameterise Req with a foreign type 2016-03-13 18:35:49 +13:00
Steve Purcell
bfe812f5d9 [servant-foreign] Normalise names of arg field accessors 2016-03-13 17:27:31 +13:00
Denis Redozubov
e34003e9af Merge pull request #378 from haskell-servant/textly-typed
Utilize newtypes in servant-foreign
2016-03-12 16:16:28 +03:00
Denis Redozubov
d8e98a1f16 fix lens export mismatch 2016-03-12 13:59:40 +03:00