@hackage semigroups0.19.1

Anything that associates

  • Installation

  • Tested Compilers

  • Dependencies (15)

  • Dependents (995)

    @hackage/OpenSCAD, @hackage/qrcode-core, @hackage/theatre, @hackage/unity-testresult-parser, @hackage/comfort-graph, @hackage/vty-unix, Show all…
  • Package Flags

      hashable
       (on by default)

      You can disable the use of the hashable package using `-f-hashable`.

      Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.

      If disabled we will not supply instances of Hashable

      Note: `-f-hashable` implies `-f-unordered-containers`, as we are necessarily not able to supply those instances as well.

      binary
       (on by default)

      You can disable the use of the binary package using `-f-binary`.

      Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.

      bytestring
       (on by default)

      You can disable the use of the bytestring package using `-f-bytestring`.

      Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.

      bytestring-builder
       (off by default)

      Decides whether to use an older version of bytestring along with bytestring-builder or just a newer version of bytestring.

      This flag normally toggles automatically but you can use `-fbytestring-builder` or `-f-bytestring-builder` to explicitly change it.

      containers
       (on by default)

      You can disable the use of the containers package using `-f-containers`.

      Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.

      deepseq
       (on by default)

      You can disable the use of the deepseq package using `-f-deepseq`.

      Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.

      tagged
       (on by default)

      You can disable the use of the tagged package using `-f-tagged`.

      Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.

      template-haskell
       (on by default)

      You can disable the use of the `template-haskell` package using `-f-template-haskell`.

      Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.

      text
       (on by default)

      You can disable the use of the text package using `-f-text`.

      Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.

      transformers
       (on by default)

      You can disable the use of the transformers and `transformers-compat` packages using `-f-transformers`.

      Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.

      unordered-containers
       (on by default)

      You can disable the use of the `unordered-containers` package using `-f-unordered-containers`.

      Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.

semigroups

Hackage Build Status

Haskellers are usually familiar with monoids. A monoid has an appending operation <> or mappend and an identity element mempty. A Semigroup has an append <>, but does not require an mempty element. A Monoid can be made a Semigroup with just instance Semigroup MyMonoid

More formally, 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.

Data.Semigroup and Data.List.NonEmpty were added to base as of 4.9.0.0. This package now offers a backwards-compatible API and some tools for deriving semigroups with generics.

Contact Information

Contributions and bug reports are welcome!

Please feel free to contact me through github or on the #haskell IRC channel on irc.freenode.net.

-Edward Kmett