monoids


License

License

MIT
GroupId

GroupId

io.chrisdavenport
ArtifactId

ArtifactId

monoids_sjs0.6_2.13
Last Version

Last Version

0.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

monoids
monoids
Project URL

Project URL

https://github.com/ChristopherDavenport/monoids
Project Organization

Project Organization

io.chrisdavenport
Source Code Management

Source Code Management

https://github.com/ChristopherDavenport/monoids

Download monoids_sjs0.6_2.13

How to add to project

<!-- https://jarcasting.com/artifacts/io.chrisdavenport/monoids_sjs0.6_2.13/ -->
<dependency>
    <groupId>io.chrisdavenport</groupId>
    <artifactId>monoids_sjs0.6_2.13</artifactId>
    <version>0.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/io.chrisdavenport/monoids_sjs0.6_2.13/
implementation 'io.chrisdavenport:monoids_sjs0.6_2.13:0.2.0'
// https://jarcasting.com/artifacts/io.chrisdavenport/monoids_sjs0.6_2.13/
implementation ("io.chrisdavenport:monoids_sjs0.6_2.13:0.2.0")
'io.chrisdavenport:monoids_sjs0.6_2.13:jar:0.2.0'
<dependency org="io.chrisdavenport" name="monoids_sjs0.6_2.13" rev="0.2.0">
  <artifact name="monoids_sjs0.6_2.13" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.chrisdavenport', module='monoids_sjs0.6_2.13', version='0.2.0')
)
libraryDependencies += "io.chrisdavenport" % "monoids_sjs0.6_2.13" % "0.2.0"
[io.chrisdavenport/monoids_sjs0.6_2.13 "0.2.0"]

Dependencies

compile (3)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.13.0
org.scala-js : scalajs-library_2.13 jar 0.6.28
org.typelevel : cats-core_sjs0.6_2.13 jar 2.0.0

test (2)

Group / Artifact Type Version
org.scala-js : scalajs-test-interface_2.13 jar 0.6.28
org.typelevel : cats-testkit-scalatest_sjs0.6_2.13 jar 1.0.0-M1

Project Modules

There are no modules declared in this project.

monoids Build Status Maven Central

Monoids is a library for some generic Monoids that are very useful.

This library exposes

  • All - Boolean newtype that combines values using &&
  • Any - Boolean newtype that combines values using ||
  • Dual - Inverts the Combine operation of a monoid
  • First - Option newtype that combine takes the first element that is present
  • Last - Option newtype that combine takes the last element that is present
  • Product - Numeric newtype that combines values using Multiplication
  • Sum - Numeric newtype that combines values using Addition

Head on over to the Microsite

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" %% "monoids"     % "<version>"
)

Versions

Version
0.2.0