issa-tseng/janus

Should Traversal defer really only override map?

issa-tseng opened this issue · 1 comments

It feels odd that defer only replaces the map function for all ensuing operations, and leaves reduce alone. On one hand, one could probably justify that if you wanted to completely use some other operation, you could just call it and return value(x) of it. On the other hand, if that is true, and replacing map alone isn't a useful operation to consider, then perhaps defer should simply be eliminated entirely.

the answer is no. defer now takes a full object conf to override any part of the original conf.