Commit graph

23 commits

Author SHA1 Message Date
Oleg Grenrus
f44b336bf1 Support http-api-data-0.3 2016-09-12 18:34:00 -03:00
Oleg Grenrus
782f8e1541 Move servant-mock to https://github.com/haskell-servant/servant-mock 2016-09-08 17:42:58 +03:00
Sönke Hahn
3c27ff5a32 added test script for stack files (and fixed stack for ghc-7.8) 2016-05-29 00:03:46 +08:00
Christian Kjær
323883556c Update stack.yaml to LTS 6.0
All the missing extra-deps are now on Stackage, and the ones that were 
forced to a later version have also been updated, so the LTS should suffice.
2016-05-28 01:03:48 +02:00
Oleg Grenrus
73bc0e3c1d Remove servant-blaze and servant-lucid 2016-05-13 14:38:00 +03:00
Oleg Grenrus
5a3b944067 Remove servant-cassava, moved to own repository 2016-05-13 13:00:32 +03:00
Julian K. Arni
4e90308b85 Fix compilation 2016-03-19 17:40:00 +08:00
Julian K. Arni
e1312c1bb6 sundry tutorial improvements 2016-03-19 17:40:00 +08:00
Julian K. Arni
f601cbf3b1 Fix cabal file, stack.yaml, and sources.txt 2016-03-19 17:39:59 +08:00
Denis Redozubov
c755f47806 use base-compat in servant-server 2016-03-13 12:42:41 +03:00
Sönke Hahn
67315c4487 server: added Config machinery 2016-01-21 17:55:02 +01:00
Nickolay Kudasov
707e46a8aa Update resolver to the latest nightly 2015-10-08 16:21:22 +03:00
Nickolay Kudasov
1e26ba25d1 Update http-api-data dependency 2015-10-08 00:57:39 +03:00
Nickolay Kudasov
40d2c68897 Use http-api-data package instead of ToText/FromText 2015-10-08 00:38:47 +03:00
Julian Arni
a1dc0561a3 Merge pull request #232 from dredozubov/servant-foreign
Common code generation types and helpers extracted to servant-foreign
2015-09-23 14:41:59 +02:00
Denis Redozubov
ce3e4f7193 Extract common code-generation stuff to servant-foreign 2015-09-21 20:59:09 +03:00
Nickolay Kudasov
401b44ac1b Make default ToSample instances productive
The default Generics-based ToSample instance now uses Omega type
to productively produce distinct samples. The previous version
was based on lists and hence left-recursive. This means that with
previous versions the default toSamples for [Bool] would return an
infinite list like this:

[[],[False],[False,False],[False,False,False],...

As you can see it would never produce a list with True in it.
Omega handles this and produces a more diverse output:

[[],[False],[False,False],[True],...

This is still not the best possible case, but to do better we need
to use Omega not only in GToSample, but in ToSample as well since
GToSample uses ToSample instances recursively.
2015-09-19 01:25:26 +03:00
Index Int
f2f7b061d2 Drop EitherT in favor of ExceptT 2015-09-12 15:11:24 +03:00
Julian Arni
ff11f38e05 Merge pull request #207 from haskell-servant/jkarni/cassava
Add servant-cassava.
2015-09-07 12:29:47 -07:00
Sönke Hahn
747b35d66d make travis builds use stack 2015-09-06 09:04:55 -07:00
Julian K. Arni
1bffaac2d0 Add servant-cassava. 2015-08-29 19:15:16 +02:00
Julian K. Arni
307d2a648f Update stack for servant-example dependency changes. 2015-08-01 20:18:47 +02:00
Sönke Hahn
e24cb9ddf6 add stack file 2015-07-26 17:25:07 +08:00