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
Consider making @@transducer/init and @@transducer/result optional when passed an external transformer in into, transduce, etc. tResult could be identity by default, tInit could return new this.constructor().
The text was updated successfully, but these errors were encountered:
Although this would only work if tInit was defined on the prototype, in which case arguably return this would be a better default per discussion in #49 (ie. should [tInit]() return an empty object or equivalent object)
Consider making
@@transducer/init
and@@transducer/result
optional when passed an external transformer ininto
,transduce
, etc.tResult
could beidentity
by default,tInit
could returnnew this.constructor()
.The text was updated successfully, but these errors were encountered: