blob: 4deba05c96c5974818aead7ac8fa9ef755ff4d4b [file] [log] [blame] [edit]
open Types
open Value
type 'inst t = 'inst func
and 'inst func =
| AstFunc of deftype * 'inst * Ast.func
| HostFunc of deftype * (value list -> value list)
val alloc : deftype -> 'inst -> Ast.func -> 'inst func
val alloc_host : deftype -> (value list -> value list) -> 'inst func
val type_of : 'inst func -> deftype