typelevel / unique   2.2.0

MIT License Website GitHub

Unique Functional Values for Scala

Scala versions: 3.x 2.13 2.12 2.11
Scala.js versions: 1.x 0.6

unique Maven Central Continuous Integration

This is a shared library for creating and managing unique values in a referentially transparent way.


This project is now end-of-life. Its functionality has been adopted into Cats-Effect 3. We will consider releases for security or other significant tales of woe, but routine maintenance has ceased.

Quick Start

To use Unique in an existing SBT project with Scala 2.12 or a later version, add the following dependencies to your build.sbt depending on your needs:

libraryDependencies ++= Seq(
  "org.typelevel" %% "unique"     % "<version>"