2015-07-25 11:22:05 +02:00
|
|
|
flags:
|
|
|
|
servant-js:
|
|
|
|
example: false
|
|
|
|
packages:
|
|
|
|
- servant/
|
|
|
|
- servant-blaze/
|
2015-08-29 19:15:16 +02:00
|
|
|
- servant-cassava/
|
2015-07-25 11:22:05 +02:00
|
|
|
- servant-client/
|
|
|
|
- servant-docs/
|
|
|
|
- servant-examples/
|
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/
|
2015-08-01 20:18:47 +02:00
|
|
|
extra-deps:
|
|
|
|
- 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-01-14 23:43:48 +01:00
|
|
|
- should-not-typecheck-2.0.1
|
2015-10-08 15:21:22 +02:00
|
|
|
resolver: nightly-2015-10-08
|