@hackage hedgehog-classes0.2.5.1

Hedgehog will eat your typeclass bugs

  • Installation

  • Tested Compilers

  • Dependencies (13)

  • Dependents (7)

    @hackage/vector-circular, @hackage/willow, @hackage/plur, @hackage/hscdio, @hackage/finitary-derive, @hackage/nonempty-lift, Show all…
  • Package Flags

      aeson
       (on by default)

      You can disable the use of the aeson package using `-f-aeson`.

      This may be useful for accelerating builds in sandboxes for expert users.

      comonad
       (on by default)

      You can disable the use of the comonad package using `-f-comonad`.

      This may be useful for accelerating builds in sandboxes for expert users.

      semirings
       (on by default)

      You can disable the use of the semirings package using `-f-semirings`.

      This may be useful for accelerating builds in sandboxes for expert users.

      primitive
       (on by default)

      You can disable the use of the primitive package using `-f-primitive`.

      This may be useful for accelerating builds in sandboxes for expert users.

      vector
       (on by default)

      You can disable the use of the vector package using `-f-vector`.

      This may be useful for accelerating builds in sandboxes for expert users.

This library provides Hedgehog properties to ensure that typeclass instances adhere to the set of laws that they are supposed to. There are other libraries that do similar things, such as `genvalidity-hspec` and checkers. This library differs from other solutions by not introducing any new typeclasses that the user needs to learn, and otherwise minimal API overhead.

This library is directly inspired by `quickcheck-classes`.