This is the code and some personal notes from the Shapeless? - Easy! talk where Valentin Kasas explains in a great way an advanced example of a real life use case (with slides).
Computing deltas
- Imagine we want to be able to determine what are the difference between two objects of the same type
- For example, we need to know what have changed in our DB since the last backup
- We need to be able to compute such deltas over a wide variety of classes, that are unrelated
- Of course, doing this by hand for each and every class is not an option
Our diff representation
[Read More]