diff options
| author | Profpatsch <mail@profpatsch.de> | 2021-01-24 11:33:41 +0100 |
|---|---|---|
| committer | Profpatsch <mail@profpatsch.de> | 2021-01-25 19:25:50 +0100 |
| commit | 41e13149f72bf1a5ef6a0f9b1da7c1c31cbc108a (patch) | |
| tree | 55f4c760156b3109260498eebe25a58fcbcff39e /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | ec334a1b01c491faa3463c96717b71921dddef2c (diff) | |
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; }; }; }
```
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
