@hackage partial-semigroup0.2.0.1

A partial binary associative operator

  • Installation

  • Dependencies (2)

  • Dependents (2)

    @hackage/partial-semigroup-hedgehog, @hackage/partial-semigroup-test
  • 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.

      identity-in-base
       (on by default)

      Require a version of base that provides the Data.Functor.Identity module.

      enable-hedgehog
       (on by default)

      Use the hedgehog package for tests.

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

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.