3 ms·
I was seeing it as roughly: (elem x f) is sugar for (filter-on f (elem x)) or so? (filter-on imaginary thing but hopefully obvious enough as pseudocode)
by mst 7y ago
I was seeing it as roughly:
(elem x f)
is sugar for
(filter-on f (elem x))
or so? (filter-on imaginary thing but hopefully obvious enough as pseudocode)
- cube2222 7y agoAlmost! It’s more like (map f (elem x JSON)), where map gets changed to apply, if (elem x JSON) results in a single value (non-collection).