partial-semigroup: A partial binary associative operator

[ algebra, apache, library ] [ Propose Tags ]

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.

Flags

Automatic Flags
NameDescriptionDefault
semigroup-in-base

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.

Enabled
identity-in-base

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

Enabled
enable-hedgehog

Use the hedgehog package for tests.

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

Enabled
enable-doctest

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

Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.0.1, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.2.0.1, 0.3.0.1, 0.3.0.2, 0.3.0.3, 0.4.0.0, 0.4.0.1, 0.5.0.0, 0.5.1.0, 0.5.1.1, 0.5.1.4, 0.5.1.6, 0.5.1.8, 0.5.1.10, 0.5.1.12, 0.5.1.14, 0.6.0.0, 0.6.0.1, 0.6.0.2
Dependencies base (>=4.6 && <4.11), semigroups (>=0.8.4 && <1) [details]
License Apache-2.0
Author Chris Martin <ch.martin@gmail.com>
Maintainer Chris Martin <ch.martin@gmail.com>
Revised Revision 3 made by GeorgeWilson at 2018-09-28T03:22:58Z
Category Algebra
Home page https://github.com/chris-martin/partial-semigroup
Bug tracker https://github.com/chris-martin/partial-semigroup/issues
Source repo head: git clone https://github.com/chris-martin/partial-semigroup
Uploaded by chris_martin at 2017-10-23T23:10:21Z
Distributions LTSHaskell:0.6.0.2, NixOS:0.6.0.2
Reverse Dependencies 2 direct, 1 indirect [details]
Downloads 9010 total (56 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-10-23 [all 1 reports]