[gambit-list] ignore rest of the file

David St-Hilaire sthilaid at iro.umontreal.ca
Tue Jun 9 08:42:22 EDT 2009

I would probably just separate your bar.scm file in two files: foo.scm 
and foo#.scm where foo#.scm contains the stuff that should be shared 
(like macros) between files via an include special form. Then, you just 
need to add (include "bar#.scm") in both bar.scm and foo.scm and your 
case is solved.


lowly coder wrote:
> foo.scm includes bar.scm
> in bar.scm, is there any command I cay say that will tell foo.scm to 
> ignore the rest of the file?
> I don't want to commnent out all the second half of bar.scm
> nor do I want to put a lambda around it (complaints about define)
> is there someway I can access a continuation or something and jump out 
> of the include?
> thanks!
> ------------------------------------------------------------------------
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list

More information about the Gambit-list mailing list