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
Change transducers implementation to support "Official Transformer Protocol" discussed in cognitect-labs/transducers-js#20 . Both transducers.js and transducers-js have been updated to support it.
Summary of changes:
// anywhere you use a transformer// (including transducer implementations)varxf={init: function()step: function(acc,item)result: function(acc)}// becomesvarxf={'@@transducer/init': function()'@@transducer/step': function(acc,item)'@@transducer/result': function(acc)}// reduced wrapper object changes from {
value: acc,__transducers_reduced__: true}// to{'@@transducer/value': acc,'@@transducer/reduced':true}
The text was updated successfully, but these errors were encountered:
I've added support of new protocol and old one also still supported. Will release a patch version with this changes a bit later. Also going to remove support of old protocol in v2.0.0.
* master:
cleanup repository after release
1.3.1
update changelog
update memory-results.txt
fix .transduce method to support new protocol (see #78)
update deps
Change transducers implementation to support "Official Transformer Protocol" discussed in cognitect-labs/transducers-js#20 . Both transducers.js and transducers-js have been updated to support it.
Summary of changes:
The text was updated successfully, but these errors were encountered: