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
Clearly, the implementation provided by underscore.php is better than the one I expected. I just needed to read the source to understand what was up.
I think the reason I misunderstood this was because I did not realize that there is an assumed 1 to 1 mapping of uniquely identifying values for all possible inputs.
Anyway, a more thorough explanation of the iterator function would probably be a good idea.
Thanks!
The text was updated successfully, but these errors were encountered:
I expected iterator to be called with each combination of elements, thus it would have a signature like:
Instead, I needed to change this to:
Clearly, the implementation provided by underscore.php is better than the one I expected. I just needed to read the source to understand what was up.
I think the reason I misunderstood this was because I did not realize that there is an assumed 1 to 1 mapping of uniquely identifying values for all possible inputs.
Anyway, a more thorough explanation of the iterator function would probably be a good idea.
Thanks!
The text was updated successfully, but these errors were encountered: