The partial-semigroup package

[ Tags: 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.

Properties

Versions 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
Dependencies base (>=4 && <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>
Category Algebra
Home page https://github.com/chris-martin/partial-semigroup
Bug tracker https://github.com/chris-martin/partial-semigroup/issues
Source repository head: git clone https://github.com/chris-martin/partial-semigroup
Uploaded Mon Oct 23 23:38:59 UTC 2017 by chris_martin
Distributions NixOS:0.3.0.2, Stackage:0.3.0.2
Downloads 221 total (126 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-10-23 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
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.

EnabledAutomatic
identity-in-base

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

EnabledAutomatic
generics-in-base

Require a version of base that provides the GHC.Generics module.

Disabling this flag removes the Data.PartialSemigroup.Generics module from the package.

EnabledAutomatic
enable-hedgehog

Use the hedgehog package for tests.

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

EnabledAutomatic
enable-doctest

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

EnabledAutomatic

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees