|
From: | Jamison Hope |
Subject: | Re: [Kawa-commonlisp-dev] [PATCH] FLET function |
Date: | Mon, 13 Aug 2012 16:52:20 -0400 |
On Aug 13, 2012, at 4:29 PM, Per Bothner wrote:
On 08/13/2012 11:48 AM, Charles Turner wrote:In an attempt to keep the patches small, the following patch only provides the FLET functionality, you can't actually use it.One suggestion: We don't need a few flet class. Just change the let constructor to take these arguments: public let(String name, boolean settingProcedures) and then in CommonLisp.lang: defun("flet", new let("flet", true)); Otherwise, this is fine.
How about this: since the regular let instance is a public static final field of let.class, we might as well make flet one, too. In let.java: public static final let let = new let( "let", false); public static final let flet = new let("flet", true); and then CommonLisp.java gets a defSntxStFld pointing at kawa.standard.let:flet. Jamie -- Jamison Hope The PTR Group www.theptrgroup.com
[Prev in Thread] | Current Thread | [Next in Thread] |