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]

define vs define-syntax


i want to do a loop, i want to have interesting things happen in the loop,
but i don't want to save state information each time i recurse.  i believe
if i do a case statement, inside the loop, and i recurse at the end of
each case, that this should be so, but has guile been optimized for this?

then rather then typeing out 5 parameters that are the same every time, if
i do a "define" statement, to try to simplify my typing, will i use define
as a macro, or will i get a dually-recursive system?  or is that what
define-syntax is for.  (by getting into a dually recursive system, i
assume that tons of state information would be saved... but i might be
wrong)

(p.s. it's a big (infinite-like) loop)

actually, my standard has define-syntax in it, but guile seems not too, am
i useing to liberal of a standard?  

thanks in advance

	Corey Sweeney