Doug Coleman wrote:

> You don't need a macro to do what you're doing:
> 
> : print-with-suffix ( str -- ) append print ;

Oh, yeah ... I knew that, sort of. My example was derived from something 
I was recently working with in Scheme, which really did need to be a 
macro. I simplified it to try to design a minimal macro, failing to 
notice that it was now simple enough that it didn't need to be a macro. Heh.

Anyway, thanks a lot for your thoughtful response, and to Slava and Kobi 
too. I'll study the examples.

BTW, I would still like to see a precise definition of "static stack 
effect."

-- 
Matt Gushee
: Bantam - lightweight file manager : matt.gushee.net/software/bantam/ :
: RASCL's A Simple Configuration Language :     matt.gushee.net/rascl/ :

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to