@hackage partial-semigroup0.5.1.14

A partial binary associative operator

  • Installation

  • Dependencies (1)

  • Dependents (2)

    @hackage/partial-semigroup-hedgehog, @hackage/partial-semigroup-test
  • Package Flags

      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.

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.