pull icon indicating copy to clipboard operation
pull copied to clipboard

Stealth does not work consistently

Open SevereOverfl0w opened this issue 7 years ago • 0 comments

user=> (pull {:a 1 :b {:a 2 :b 2 :c 3}} [{:b [:c]}] {:stealth #{:c}})
{:b {}}
user=> (pull {:a 1 :b {:a 2 :b 2 :c 3}} [:b] {:stealth #{:c}})
{:b {:a 2, :b 2, :c 3}}

In the latter case, because I am not explicitly recursing, but am treating the next part of the tree as a value, the stealth never "kicks in".

SevereOverfl0w avatar May 12 '18 07:05 SevereOverfl0w