Profpatsch 41e13149f7 lib/debug: add traceFnSeqN
Immensely helpful when you want to see the changes a function makes to
its value as it passes through.

Example:

```
$ nix-instantiate --strict --eval -E '(with import ./lib; traceFnSeqN 2 "id" (x: x) { a.b.c = 3; })'
trace: {
  fn = "id";
  from = {
    a = {
      b = {…};
    };
  };
  to = {
    a = {
      b = {…};
    };
  };
}
{ a = { b = { c = 3; }; }; }
```
2021-01-25 19:25:50 +01:00
..
2020-06-18 10:16:57 +02:00
2021-01-25 19:25:50 +01:00
2021-01-25 19:25:50 +01:00
2017-09-16 21:36:43 -04:00
2018-11-22 08:59:48 +00:00
2020-06-04 13:43:10 +02:00
2020-09-12 16:37:50 +02:00
2020-10-26 00:50:06 -07:00
2019-09-26 17:42:42 +02:00