Re: guile and XML (mixp)

2006-11-27 Thread Jon Wilson
Hi Neil, What seems very reasonable, however, would be a way for a module to discover whether it is being loaded for use-syntax or use-module, so that it can emit a warning, or even signal an error, if the use is inappropriate. Perhaps something like this... (define-module (ice-9 syncase) .

Re: guile and XML (mixp)

2006-11-27 Thread Neil Jerram
Jon Wilson <[EMAIL PROTECTED]> writes: > Hi Neil, >> Whoever is doing (use-modules (ice-9 syncase)) needs to do (use-syntax >> (ice-9 syncase)) instead. >> > I see this fairly often. Perhaps there should be some little widget > in (ice-9 syncase) which says "If you try to use=modules me, you will

Re: guile and XML (mixp)

2006-11-27 Thread Jon Wilson
Hi Neil, Whoever is doing (use-modules (ice-9 syncase)) needs to do (use-syntax (ice-9 syncase)) instead. I see this fairly often. Perhaps there should be some little widget in (ice-9 syncase) which says "If you try to use=modules me, you will actually get use-syntax instead.). Or could an