All Versions
11
Latest Version
Avg Release Cycle
127 days
Latest Release
583 days ago

Changelog History
Page 1

  • 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.
  • 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 of GenList

    • ๐Ÿ“‡ Rename Field to FieldGen

    • โž• 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 GArbitrary and GUniformWeight synonyms
    • ๐Ÿ—„ Deprecate Generic.Random.Generic
    • โœ‚ Remove weights from the external API
  • 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 let BaseCase find small values, no depth parameter must be specified anymore
    • โž• Add genericArbitrarySingle, genericArbitraryRec, genericArbitraryU'
    • ๐Ÿ—„ Deprecate weights
    • ๐Ÿ›  Fixed bug with genericArbitrary' not dividing the size parameter
  • v0.5.0.0 Changes

    April 10, 2017
    • 0๏ธโƒฃ Turn off dependency on boltzmann-samplers by default
    • โž• Add genericArbitraryU, genericArbitraryU0 and genericArbitraryU1
    • Compatible with GHC 7.8.4 and GHC 7.10.3
  • v0.4.1.0 Changes

    March 05, 2017
    • ๐Ÿ“ฆ Move Boltzmann sampler modules to another package: boltzmann-samplers
  • v0.4.0.0 Changes

    February 05, 2017
    • Check well-formedness of constructor distributions at compile time.
    • ๐Ÿ‘ No longer support GHC 7.10.3 (the above feature relies on Generic information which does not exist before GHC 8)