[ruby-core:64993] Re: [ruby-trunk - Bug #10212] MRI is not for lambda calculus

From: SASADA Koichi <ko1@...>
Date: 2014-09-12 10:10:59 UTC
List: ruby-core #64993
(2014/09/12 19:03), Eric Wong wrote:
> Yes, I think the following API is OK.  rb_proc_t is big.
> The new inline rb_proc_alloc() takes 7(!) parameters.
> Maybe we can drop klass since that is always rb_cProc.

Nice.

Additionally, I recommend to move the definition from vm_core.h to vm.c
(and expose it) because proc_dup() in proc.c is minor function.

-- 
// SASADA Koichi at atdot dot net

In This Thread