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:
@briancavalier I don't know if it's worth it as transducers-js, transducers.js and others already published the updated API without backwards compatibility. It's technically a breaking change though, so it's really your call
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: