You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
working with the DOM has convinced me of the need for an each method on ramda.
The DOM does not lend itself to immutability. Or referential transparency. Or elegance. so this is one vote for exposing a bit of impurity (gasp) in the lib for the sake of practicality.
Note that since we are not using native array methods (e.g. slice) internally, we can use ramda seamlessly with NodeLists et al.
Thoughts?
The text was updated successfully, but these errors were encountered:
No major objection, although the public name should probably be forEach. Probably the internal name too. jQuery should not ever be responsible for how we choose to name things!
working with the DOM has convinced me of the need for an
each
method on ramda.The DOM does not lend itself to immutability. Or referential transparency. Or elegance. so this is one vote for exposing a bit of impurity (gasp) in the lib for the sake of practicality.
Note that since we are not using native array methods (e.g. slice) internally, we can use ramda seamlessly with NodeLists et al.
Thoughts?
The text was updated successfully, but these errors were encountered: