Module Async_kernel__Types.Bvar
type ('a, -'permission) t
type 'a repr
=
{
mutable has_any_waiters : bool;
mutable ivar : 'a Ivar.t;
}
repr
exists so that we may hide the implementation of aBvar.t
, and then add a phantom type to it upstream. Without this, the phantom type variable would allow for anything to be coerced in and out, since it is unused.