uqbar-project / identity-map   1.1.0

GitHub

A Scala immutable Map based on identity

Scala versions: 2.11

IdentityMap Build Status

This module provides a simple implementation of a Scala immutable Map, based on identity instead of equality.

This means an IdentityMap will treat two equal (but non identical) objects as separate keys.

Setup

To include this module in your SBT project, just add the following lines to your .sbt project definition:

libraryDependencies += "org.uqbar" %% "identity-map" % "latest.integration"

Or, if you are using Uqbar's SBT Flexible Dependencies Plugin:

lazy val project = FDProject(
	"org.uqbar" %% "identity-map" % "latest.integration"
)

Contributions

Yes, please! Pull requests are always welcome, just try to keep it small and clean.

License

This code is open source software licensed under the LGPL v3 License by The Uqbar Foundation. Feel free to use it accordingly.