s-mach / s_mach.datadiff   1.1.1

MIT License GitHub

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.

Scala versions: 2.12 2.11

datadiff 1.1.0


Group ID:
net.s_mach
Artifact ID:
datadiff_2.12
Version:
1.1.0
Release Date:
Dec 11, 2016
Licenses:
MIT
Files:

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

Mill build tool

ivy"net.s_mach::datadiff:1.1.0"

Scala CLI

//> using dep "net.s_mach::datadiff:1.1.0"

Ammonite REPL

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

<dependency>
  <groupId>net.s_mach</groupId>
  <artifactId>datadiff_2.12</artifactId>
  <version>1.1.0</version>
</dependency>

compile group: 'net.s_mach', name: 'datadiff_2.12', version: '1.1.0'