List Info

Thread: patch for block args w/ defaults (was Re: resolving lambda | ambiguity)




patch for block args w/ defaults (was Re: resolving lambda | ambiguity)
user name
2008-05-24 16:06:19
On Fri, May 23, 2008 at 7:18 AM, ts < decouxmoulon.inra.fr">decouxmoulon.inra.fr> wrote:
Eric Mahurin wrote:
&gt; Is there any reason this idea couldn';t be applied to head?

 Try it on your personal version.

Guy Decoux

Here is a patch for handling optional args for blocks using this simple idea - use a "primary_value&quot; instead of "arg_value" for the default values.&nbsp; I simply did some cutting and pasting for the argument definitions for "def&quot; and changed "arg_value" to "primary_value&quot;.  It worked on the first try!  Spent more time writing tests (included) than adding the new functionality.

Matz, any chance this could be integrated for a trial period at least?&nbsp; It shouldn9;t cause any compatibility issues.

  
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )