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
In fp-ts 2.10.2, SRTE.traverseArray does not pass the output state from each step to the subsequent step. Each step receives the initial state. As a result, all state transformations are lost except for the final one.
Expected behavior
In fp-ts 2.9.5, SRTE.traverseArray passes the output state from each step to the subsequent step. This is the expected behavior.
🐛 Bug report
Current Behavior
In fp-ts 2.10.2, SRTE.traverseArray does not pass the output state from each step to the subsequent step. Each step receives the initial state. As a result, all state transformations are lost except for the final one.
Expected behavior
In fp-ts 2.9.5, SRTE.traverseArray passes the output state from each step to the subsequent step. This is the expected behavior.
Reproducible example
2.9.5 prints:
[ 1, 2, 3 ]
2.10.2 prints:
[ 3 ]
The text was updated successfully, but these errors were encountered: