jon.recoil.org

Module Js_of_ocaml_compiler.Duplicate

Given a program and a closure f -- defined by its name, parameters, and its continuation --, return a program with a copy of f. Also returns the new name of f, and the similarly substituted parameter list and continuation.