Would allow fine-grained control over add vs list.
Also allows canonicalisation -- e.g. lower-case strings.
For this, we should allow two possible customisations:
- op(a, b) -> a+b
- transform(a) -> a'
x 2 -- whether they act on leaf values or path items.
Would allow fine-grained control over add vs list.
Also allows canonicalisation -- e.g. lower-case strings.
For this, we should allow two possible customisations:
x 2 -- whether they act on leaf values or path items.