quasar.effect.AtomicRef
NB: Attempted to define this as Get[V]() extends AtomicRef[V, V] but when pattern matching (x: AtomicRef[A, B]) match { case Get() => } scalac doesn't recognize that A =:= B.
Get[V]() extends AtomicRef[V, V]
(x: AtomicRef[A, B]) match { case Get() => }
NB: Attempted to define this as
Get[V]() extends AtomicRef[V, V]
but when pattern matching(x: AtomicRef[A, B]) match { case Get() => }
scalac doesn't recognize that A =:= B.