Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.

What can I use to compute a diff between two values of some generic structure? Such that applying the diff produces the 2nd value given the 1st value?

Assuming we are dealing with container structures mainly (map, list, records, sum types, etc.)

This is the closest thing that reminds me of, idk whether it has all you're looking for: https://hackage.haskell.org/package/tree-diff

What can I use to compute a diff between two values of some generic structure? Such that applying the diff produces the 2nd value given the 1st value?

Assuming we are dealing with container structures mainly (map, list, records, sum types, etc.)

This is the closest thing that reminds me of, idk whether it has all you're looking for: https://hackage.haskell.org/package/tree-diff