Closed kayceesrk closed 8 years ago
Added support for cloning continuations. Continuations in OCaml are affine, and can be invoked at most once. Given a continuation k, Obj.clone k will return a copy of the continuation, which is also affine.
k
Obj.clone k
Added support for cloning continuations. Continuations in OCaml are affine, and can be invoked at most once. Given a continuation
k
,Obj.clone k
will return a copy of the continuation, which is also affine.