[gambit-list] Gerbil Q: gerbil.pkg doesn't produce module context, what's wrong?

Marc Feeley feeley at iro.umontreal.ca
Thu Feb 13 10:57:23 EST 2020


I’m not familiar with the Gerbil module system.  Perhaps if you send your message to the Gerbil mailing list you will get an answer faster.

Marc



> On Feb 13, 2020, at 10:07 AM, Phillip Suero <philsuero at gmail.com> wrote:
> 
> Hi!
> 
> This:
> 
> echo "(package: a)" > gerbil.pkg
> echo "(define (abc) 'yes)" > a.scm
> gxi
> (import ./a)
> 
> fails with:
> 
> > (import ./a)
> *** ERROR IN ##main -- Syntax Error
> *** ERROR IN (console)@1.9
> --- Syntax Error: Cannot resolve relative module path; not in module context
> ... form:   ./a
> 
> This should obviously work, right?! what's wrong??
> Phil
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://mailman.iro.umontreal.ca/cgi-bin/mailman/listinfo/gambit-list





More information about the Gambit-list mailing list