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
{{ message }}
This repository has been archived by the owner on Jun 3, 2023. It is now read-only.
I had exception TypeError: t.comp is not a function
If i changed t.comp to t.compose
Error: don't know how to iterate collection: function (r) { var value = r; for(var i=funcs.length-1; i>=0; i--) { value = funcs[i](value); } return value; }
I've installed transducers-js via bower (version 0.4.174)
What i missed ?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When i try to run example from documentations
`var t = transducers;
var inc = function(n) { return n+1; };
var isEven = function(n) { return n % 2 == 0; };
var apush = function(arr,x) { arr.push(x); return arr; };
var xf = t.comp(t.map(inc),t.filter(isEven));
console.log(
t.transduce(xf, apush, [], [1,2,3,4])
); `
I had exception
TypeError: t.comp is not a function
If i changed t.comp to t.compose
Error: don't know how to iterate collection: function (r) { var value = r; for(var i=funcs.length-1; i>=0; i--) { value = funcs[i](value); } return value; }
I've installed transducers-js via bower (version 0.4.174)
What i missed ?
The text was updated successfully, but these errors were encountered: