Stores value as the live case, replacing whatever was there without releasing it (see
free_variant). It is a compile-time error when T is not a case.
set :: (v: *$V/Variant, value: $T)
Stores value as the live case, replacing whatever was there without releasing it (see
free_variant). It is a compile-time error when T is not a case.
Parameters
- v: *$V/Variant
- value: $T