diff
diff copied to clipboard
Visually compare Scala data structures with out of the box support for arbitrary case classes.
The show() method in the map diff is broken. It always looks in the right map, but it is called once for elements only in the right map and once...
Since 1.2.0 Scala 2.10 shows the following type error  Trying to annotate the type leads to a compiler crash. Working through all the places where the compiler show's errors...
Test with Array of bytes: ```scala "diff Arrays of bytes" in { case class CaseClassWithArrayBytes(id: String, hash: Option[Array[Byte]]) import ai.x.diff.DiffShow import ai.x.diff.conversions._ println( DiffShow.diff[CaseClassWithArrayBytes]( CaseClassWithArrayBytes("A", Some( Array[Byte](192.toByte, 168.toByte) )), CaseClassWithArrayBytes("B",...
Now that [Scala 2.12.0 has been released](http://scala-lang.org/news/2.12.0), would it be possible to release a build of diff 1.2.0 for it? Thanks!
``` scala> import ai.x.diff._ import ai.x.diff._ scala> case class Foo(i: Int, s: String) defined class Foo scala> case class Bar(d: Double, f: Foo) defined class Bar scala> val b1 =...
Would it be possible to have a scalajs build? Then I can diff in the browser.
this is work in progress. it currently still leads to ``` [error] /Users/chris/xdotai/diff/test/Main.scala:25: could not find implicit value for parameter e: ai.x.diff.DiffShow[Foo] [error] implicitly[DiffShow[Parent]] [error] ^ ```
- we could try multiple different releases with and without - we could try a version that uses == as a fallback. Maybe that's even possible through imports rather than...