| 1 |
(module $lwt |
| 2 |
(type $func (;0;) (func)) |
| 3 |
(type $cont (;1;) (cont $func)) |
| 4 |
(type (;2;) (func (param (ref $cont)))) |
| 5 |
(tag $yield (;0;) (type $func)) |
| 6 |
(tag $fork (;1;) (type 2) (param (ref $cont))) |
| 7 |
(export "yield" (tag 0)) |
| 8 |
(export "fork" (tag 1)) |
| 9 |
) |