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
Relude already offers lifted versions of atomicModifyIORef and atomicModifyIORef' functions. But these functions often used with () in the second place of tuple. See example in hintman:
Relude already offers lifted versions of
atomicModifyIORef
andatomicModifyIORef'
functions. But these functions often used with()
in the second place of tuple. See example inhintman
:The new functions were proposed to be added to
base
but they haven't landed:I propose to implement them by ourselves. And if they ever going to be implemented in
base
, we can easily reexport them.The type signatures:
The text was updated successfully, but these errors were encountered: