For Programmers: Free Programming Magazines  


Home > Archive > Scheme > July 2004 > SRFI-26 (cut & cute) and slots in subexpressions









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author SRFI-26 (cut & cute) and slots in subexpressions
Daniel Faken

2004-07-09, 4:01 pm

Hello,

I was looking through the discussion archive for SRFI-26, but
couldn't find any explanation why slots (<>, <...> ) are not allowed in
sub-expressions.
E.g. (cut * <> (+ <> <> ))

I understand that part of the idea was to keep things simple, but
extending the macro to cover sub-expressions seems (?) simple..

thanks,
Daniel Faken

email: Daniel *underscore* Faken *at* brown *dot* edu
Michael Sperber

2004-07-10, 9:03 am

>>>>> "Daniel" == Daniel Faken <Daniel_Faken@brown.edu> writes:

Daniel> I was looking through the discussion archive for SRFI-26, but
Daniel> couldn't find any explanation why slots (<>, <...> ) are not allowed in
Daniel> sub-expressions.
Daniel> E.g. (cut * <> (+ <> <> ))

Daniel> I understand that part of the idea was to keep things simple, but
Daniel> extending the macro to cover sub-expressions seems (?) simple..

The place to ask this is probably the SRFI 26 post-finalization list.

(I also don't think it's quite so simple---you might try your hand at
an implementation, and possibly post another SRFI.)

--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com