name: semigroups
category: Algebra, Data, Data Structures, Math
version: 0.8.4
x-revision: 1
license: BSD3
cabal-version: >= 1.10
license-file: LICENSE
author: Edward A. Kmett
maintainer: Edward A. Kmett
stability: provisional
homepage: http://github.com/ekmett/semigroups/
bug-reports: http://github.com/ekmett/semigroups/issues
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
extra-source-files: .travis.yml README.markdown
source-repository head
type: git
location: git://github.com/ekmett/semigroups.git
flag base2
default: False
manual: False
library
default-language: Haskell98
other-extensions: CPP
if !impl(hugs)
other-extensions: DeriveDataTypeable
cpp-options: -DLANGUAGE_DeriveDataTypeable
if flag(base2)
build-depends: base == 2.*
else
build-depends:
base >= 3 && < 4.9,
containers >= 0.3 && < 0.6
ghc-options: -Wall
exposed-modules:
Data.Semigroup
Data.List.NonEmpty
Numeric.Natural
Numeric.Natural.Internal