s_mach.datadiff is an open-source data difference engine for Scala. Implementations of the DataDiff type-class are provided which can compute the difference between all data types, Option, Set, Seq, and Map and all tuple classes. An implementation for any case case class (or other type that can be represented as a struct type) can be generated at compile-time by the mkDataDiff macro method. The difference between any two instances is stored as a patch type, which can be user-defined per type. Patches can be applied to instances of the original type to propagate computed changes. All provided DataDiff implementations are 100% strongly-typed and use absolutely no runtime reflection.

datadiff 1.0.0


Group ID:
net.s_mach
Artifact ID:
datadiff_2.11
Version:
1.0.0
Release Date:
Dec 30, 2014
Licenses:
MIT
Files:

libraryDependencies += "net.s_mach" %% "datadiff" % "1.0.0"

Mill build tool

ivy"net.s_mach::datadiff:1.0.0"

Ammonite REPL

import $ivy.`net.s_mach::datadiff:1.0.0`

<dependency>
  <groupId>net.s_mach</groupId>
  <artifactId>datadiff_2.11</artifactId>
  <version>1.0.0</version>
</dependency>

compile group: 'net.s_mach', name: 'datadiff_2.11', version: '1.0.0'