@hackage partial-semigroup0.5.1.1

A partial binary associative operator

A partial semigroup is like a semigroup, but the operator is partial. We represent this in Haskell as a total function (<>?) :: a -> a -> Maybe a.

The partial-semigroup-hedgehog companion package provides support for checking the partial semigroup associativity axiom using the hedgehog package.

  • Installation

  • Tested Compilers

  • Dependencies (2)

  • Dependents (1)

    @hackage/partial-semigroup-hedgehog
  • Package Flags

      semigroup-in-base
       (on by default)

      Require a version of base that provides the Data.Semigroup and Data.List.NonEmpty modules.

      Disabling this flag adds a dependency on the semigroups package.

      enable-hedgehog
       (on by default)

      Use the hedgehog package for tests.

      Disabling this flag disables all of the tests that use hedgehog.

      enable-doctest
       (on by default)

      Use the doctest package to test the code examples in Haddock comments.