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
Currently, we have modify :: forall s r. (s -> s) -> Run (state :: STATE s | r) Unit.
It would be nice to instead have: modify :: forall s r. (s -> s) -> Run (state :: STATE s | r) s (returns the new state) modify_ :: forall s r. (s -> s) -> Run (state :: STATE s | r) Unit (current modify)
This would be a breaking change, but it could be added along with all the changes that are necesscary for 0.14, since they will be breaking as well.
The text was updated successfully, but these errors were encountered:
Currently, we have
modify :: forall s r. (s -> s) -> Run (state :: STATE s | r) Unit
.It would be nice to instead have:
modify :: forall s r. (s -> s) -> Run (state :: STATE s | r) s
(returns the new state)modify_ :: forall s r. (s -> s) -> Run (state :: STATE s | r) Unit
(currentmodify
)This would be a breaking change, but it could be added along with all the changes that are necesscary for 0.14, since they will be breaking as well.
The text was updated successfully, but these errors were encountered: