name: semigroups
category: Algebra, Data, Data Structures, Math
version: 0.8.2
license: BSD3
cabal-version: >= 1.6
license-file: LICENSE
author: Edward A. Kmett
maintainer: Edward A. Kmett
stability: provisional
homepage: http://github.com/ekmett/semigroups/
copyright: Copyright (C) 2011 Edward A. Kmett
synopsis: Haskell 98 semigroups
description:
Haskell 98 semigroups
.
In mathematics, a semigroup is an algebraic structure consisting of a set together with an associative binary operation. A semigroup generalizes a monoid in that there might not exist an identity element. It also (originally) generalized a group (a monoid with all inverses) to a type where every element did not have to have an inverse, thus the name semigroup.
build-type: Simple
source-repository head
type: git
location: git://github.com/ekmett/semigroups.git
flag base2
default: False
manual: False
library
if !impl(hugs)
extensions: DeriveDataTypeable
cpp-options: -DLANGUAGE_DeriveDataTypeable
if flag(base2)
build-depends: base == 2.*
else
build-depends:
base >= 3 && < 5,
containers >= 0.3 && < 0.5
ghc-options: -Wall
extensions: CPP
exposed-modules:
Data.Semigroup
Data.List.NonEmpty
Numeric.Natural
Numeric.Natural.Internal