This is the mail archive of the guile@cygnus.com mailing list for the guile project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Todd Larason <jtl@molehill.org> writes: > On 981024, Russell McManus wrote: > > I also want to port functional postscript (cool system), but that's > > after sunet on my list. I hope someone beats me to it. > > I've started looking at that, but not only is my time limited, so is my > skill/knowledge (at least one of those two, hopefully just the one that's > easier to fix). Very cool. Please keep me posted as you move along. > http://www.mit.edu/people/wandy/fps/porting.html lists porting issues the > authors are aware of; most of these looks fairly straightforward. > > Working from the top: > > R5RS features: We use R5RS multi-value return forms: VALUES, > CALL-WITH-VALUES, and RECEIVE. > > I can't find RECEIVE in r5rs; maybe it was in an earlier draft but removed > from the final? In any case, FPS has a macro defining it in terms of > call-with-values. > > Guile's (ice-9 syncase) has call-with-values and values procedures defined > that look like they might do the right thing; what I don't understand is > how to use them. They're (define)d, not (define-public)d, so as far as > I understand, they can only be used from the syncase module; they're not > used there though, so I expect I'm missing something in the guile > module system. Anyone have some pointers? I think guile-scsh has already implemented the stuff that you need. If it's not in there, it's a bug, please send me a bug report. -russ