All Versions
14
Latest Version
Avg Release Cycle
127 days
Latest Release
-
Changelog History
Page 1
Changelog History
Page 1
-
v1.5.1.0 Changes
- ๐ Support GHC 9.2
-
v1.5.0.0 Changes
- โ Add newtypes for
DerivingVia
(thanks, blackheaven) - โฌ๏ธ Drop compatibility with GHC 8.0 and 8.2
- โ Add newtypes for
-
v1.4.0.0 Changes
- โ Add option to use only coherent instances
- Export
SetSized
andSetUnsized
- โฌ๏ธ Drop compatibility with GHC 7
-
v1.3.0.1 Changes
March 24, 2020- ๐ Fix small typos in documentation.
-
v1.3.0.0 Changes
September 07, 2019- โ Add
ConstrGen
(custom generators for fields specified by constructor name and index). - Stop requiring custom generators lists to be terminated by
:+ ()
, or to be lists at all. - ๐ฅ Breaking minor change: when a record field has a different type than
a
FieldGen
custom generator for the same field name, this is now a compilation error. This was simply ignored before. - ๐ Miscellaneous documentation improvements in
Generic.Random
module.
- โ Add
-
v1.2.0.0 Changes
May 31, 2018๐ Fix a bug where generators did not decrease the size parameter with single-field constructors
The sized generators now use a custom generator for lists. Use
genericArbitraryRecG ()
to disable that. See tutorial for more information.Lists of custom generators are now constructed using
(:+)
instead ofGenList
๐ Rename
Field
toFieldGen
โ Add
Gen1
,Gen1_
(custom generators for unary type constructors)โ Add
listOf'
,listOf1'
,vectorOf'
โ Remove deprecated module
Generic.Random.Generic
-
v1.1.0.2 Changes
January 12, 2018- ๐ Improved performance
-
v1.1.0.1 Changes
January 01, 2018- ๐ Fix build for GHC<8
-
v1.1.0.0 Changes
January 01, 2018- โ Add option to specify custom generators for certain fields,
overriding Arbitrary instances
- Add
genericArbitraryG
,genericArbitraryUG
,genericArbitrarySingleG
,genericArbitraryRecG
- Add
- โ Add
GArbitrary
andGUniformWeight
synonyms - ๐ Deprecate
Generic.Random.Generic
- โ Remove
weights
from the external API
- โ Add option to specify custom generators for certain fields,
overriding Arbitrary instances
-
v1.0.0.0 Changes
August 23, 2017- ๐ Make the main module
Generic.Random
- Rework generic base case generation
- You can explicitly provide a trivial generator (e.g., returning a
nullary constructor) using
withBaseCase
- Generically derive
BaseCaseSearch
and letBaseCase
find small values, no depth parameter must be specified anymore
- You can explicitly provide a trivial generator (e.g., returning a
nullary constructor) using
- โ Add
genericArbitrarySingle
,genericArbitraryRec
,genericArbitraryU'
- ๐ Deprecate
weights
- ๐ Fixed bug with
genericArbitrary'
not dividing the size parameter
- ๐ Make the main module