less-arbitrary 0.1.0.1 → 0.1.0.2
raw patch · 3 files changed
+44/−28 lines, 3 filesdep +email-validatedep +genvaliditydep +genvalidity-hspecPVP ok
version bump matches the API change (PVP)
Dependencies added: email-validate, genvalidity, genvalidity-hspec, genvalidity-property, hspec, time, validity
API changes (from Hackage documentation)
Files
- CHANGELOG.md +9/−1
- README.md +10/−9
- less-arbitrary.cabal +25/−18
CHANGELOG.md view
@@ -1,5 +1,13 @@ # Revision history for less-arbitrary -0.1.0.0 -- 20200-10-17+0.1.0.2 -- 2020-10-17++* Fixed the package metadata.++0.1.0.1 -- 2020-10-17++* Fixed the package build.++0.1.0.0 -- 2020-10-17 * First version of less-arbitrary on Hackage.
README.md view
@@ -1,10 +1,11 @@ To build this you need:-* Haskell Stack-* for documentation:- - pandoc- - xelatex with standard science article packages- - easiest to get as MacTeX on Mac- - `apt-get install -y texlive-recommended` on Ubuntu-* enTangleD for code generation (if you want to edit `.md` source file)--To read more, look into `less-arbitrary.md` which is literate source file.+* pandoc+* dejavu-sans and Arial fonts installed+ (the latter from msttcorefonts package or similar)+* xelatex with standard science article packages+ - easiest to get as MacTeX on Mac+ - `apt-get install -y texlive-recommended` on Ubuntu+* Stephen Diehl category theory diagrams:+ - git@github.com:sdiehl/cats.git+* markdown-unlit+* pandoc-hide-codeblocks
less-arbitrary.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: de52737f16be1f12f795928da7d441db57123a1960a64a0aa50ae383040cce22+-- hash: a17a820a8212ed918b2dba9a4251f2a286fa2cac941ffa702fbc35323f5309b1 name: less-arbitrary-version: 0.1.0.1+version: 0.1.0.2 synopsis: Linear time testing with variant of Arbitrary class that always terminates. description: Ever found non-terminating Arbitrary instance? Ever wondered what would be a runtime cost of particular Arbitrary instance?@@ -16,20 +16,17 @@ this variant of Arbitrary is automatically generating instances, and allows you to see predictable linear time generators for most types (providing that you have any terminating constructor, that is constructor that does not go deeper into the data structure.) .- Usage: - ```- import Test.LessArbitrary- .- data MyDataType = ...- deriving (Show, Generic)+ Usage: .- instance LessArbitrary MyDataType- instance Arbitrary where- arbitrary = lessArbitrary- ```+ > import Test.LessArbitrary+ >+ > data MyDataType = ...+ > deriving (Show, Generic)+ >+ > instance LessArbitrary MyDataType+ > instance Arbitrary where+ > arbitrary = fasterArbitrary category: Web-homepage: https://github.com/mgajda/less-arbitrary#readme-bug-reports: https://github.com/mgajda/less-arbitrary/issues author: Michał J. Gajda <mjgajda@migamake.com> maintainer: Michał J. Gajda <mjgajda@migamake.com> license: BSD3@@ -39,10 +36,6 @@ CHANGELOG.md README.md -source-repository head- type: git- location: https://github.com/mgajda/less-arbitrary- library exposed-modules: Test.LessArbitrary@@ -54,14 +47,21 @@ QuickCheck , base >=4.5 && <=4.15 , containers+ , email-validate , generic-arbitrary+ , genvalidity+ , genvalidity-hspec+ , genvalidity-property , hashable+ , hspec , mtl , random , scientific , text+ , time , transformers , unordered-containers+ , validity , vector default-language: Haskell2010 @@ -78,8 +78,13 @@ QuickCheck , base >=4.5 && <=4.15 , containers+ , email-validate , generic-arbitrary+ , genvalidity+ , genvalidity-hspec+ , genvalidity-property , hashable+ , hspec , less-arbitrary , mtl , quickcheck-classes@@ -87,7 +92,9 @@ , random , scientific , text+ , time , transformers , unordered-containers+ , validity , vector default-language: Haskell2010