how does filterer work with transform and AFTER-ELEM?
is it possible to add elements to a view (like modifying / removing)?
you can remove elements with filterer, which will remove from the end of the naviagated elements, but transforming to a larger list will ignore the extra elements
user=> (setval [(filterer odd?) AFTER-ELEM] :a [1 2 3 4 5 6])
[1 2 3 4 5 6]
user=> (setval [(filterer odd?) LAST] NONE [1 2 3 4 5 6])
[1 2 3 4 6]i see is it possible to have a view of a collection and add elements to it in any other way? i have built a lens (two way binding) using specter navs so i have an entity with a vector field and i want to pass a filtered view of it (all of the items with type "X") now i want to add elements to that view (which in turn will add it to the entity's vector), preferably using the same navs and not creating another path (without the filter) is it possible?
it's not clear with filterer where new elements would even be added
you can take a look at the implementation and make another navigator using defnav with whatever behavior you want