@@ -16,11 +16,19 @@ var __IDRRT__Forgot = new __IDRRT__Type('Forgot');
16var __IDRRT__Tailcall = function(f) { this.f = f };
16var __IDRRT__Tailcall = function(f) { this.f = f };
18var __IDRRT__ffiWrap = function(fid) {
18var __IDRRT__ffiWrap = function(fid) {
19− return function(arg) {
19+ return function(){
23+ while (res instanceof __IDRRT__Con){
20− return __IDRRT__tailcall(function(){
25+ res = __IDRRT__tailcall(function(){
21− return __IDR__APPLY0(fid, arg);
26+ return __IDR__mAPPLY0(res, arg);
26/** @constructor */
34/** @constructor */