semigroups
![Maven Central](https://camo.githubusercontent.com/f20c38d9030e1cfb24b18c7387147421a8945849b0a3868012f5607fdf7f6946/68747470733a2f2f6d6176656e2d6261646765732e6865726f6b756170702e636f6d2f6d6176656e2d63656e7472616c2f696f2e6368726973646176656e706f72742f73656d6967726f7570735f322e31322f62616467652e737667)
Set of Generic Semigroup Types and Accompanying Instances very useful for abstract programming.
Exposes instances for
Dual
inverts the combine operation.Max
exposes a Max that given anOrder
will return the maximum value.Min
exposes a Min that given anOrder
will returh the minimum value.
Quick Start
To use this project in an existing SBT project with Scala 2.11 or a later version, add the following dependencies to your build.sbt
depending on your needs:
libraryDependencies ++= Seq(
"io.chrisdavenport" %% "semigroups" % "<version>"
)