|
From: | Han-Wen Nienhuys |
Subject: | Re: pure simple-closures |
Date: | Sat, 21 Oct 2006 17:29:27 +0200 |
User-agent: | Thunderbird 1.5.0.7 (X11/20061008) |
Joe Neeman schreef:
On Sat, 2006-10-21 at 12:15 +0200, Han-Wen Nienhuys wrote:Joe Neeman schreef:Mostly because at the time that I wrote it, I couldn't figure out how to handle arbitrary length argument lists in scheme (the only way I currently know is to build the list of arguments, cons in the functionI think you're looking for the apply function, (apply func arg-list)Ah yes, that's much better. So did you want me to put call_pure_function in scheme?
yes, I think so. The most important thing is that subsystems should not cross the C++/Scheme divide all too often. Since most of the func->pure -func code is in Scheme, I think it's best we keep improvements there.
-- Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen LilyPond Software Design -- Code for Music Notation http://www.lilypond-design.com
[Prev in Thread] | Current Thread | [Next in Thread] |