@[implicit_reducible]
Lift an IO.Ref α into a MonadStateOf α IO instance, forwarding get/set/modifyGet
directly to the ref.
Equations
- ref.toMonadStateOf = { get := ST.Ref.get ref, set := ST.Ref.set ref, modifyGet := fun {α_1 : Type} => ST.Ref.modifyGet ref }