2015-07-25 11:22:05 +02:00
|
|
|
flags:
|
|
|
|
servant-js:
|
|
|
|
example: false
|
|
|
|
packages:
|
|
|
|
- servant/
|
|
|
|
- servant-blaze/
|
|
|
|
- servant-client/
|
|
|
|
- servant-docs/
|
2015-09-21 12:31:00 +02:00
|
|
|
- servant-foreign/
|
2015-07-25 11:22:05 +02:00
|
|
|
- servant-js/
|
|
|
|
- servant-lucid/
|
|
|
|
- servant-mock/
|
|
|
|
- servant-server/
|
2016-01-27 22:46:28 +01:00
|
|
|
- doc/tutorial
|
2015-08-01 20:18:47 +02:00
|
|
|
extra-deps:
|
2016-03-01 12:41:24 +01:00
|
|
|
- base-compat-0.9.0
|
2015-08-01 20:18:47 +02:00
|
|
|
- engine-io-wai-1.0.2
|
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 00:25:26 +02:00
|
|
|
- control-monad-omega-0.3.1
|
2016-05-13 12:03:45 +02:00
|
|
|
- should-not-typecheck-2.1.0
|
2016-02-18 00:39:40 +01:00
|
|
|
- markdown-unlit-0.4.0
|
|
|
|
- aeson-0.11.0.0
|
|
|
|
- fail-4.9.0.0
|
2016-03-18 15:09:38 +01:00
|
|
|
resolver: nightly-2016-03-17
|