chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Order of loading extensions and syntax extensions


From: Alejandro Forero Cuervo
Subject: [Chicken-users] Order of loading extensions and syntax extensions
Date: Tue, 30 May 2006 20:11:16 -0500
User-agent: Mutt/1.5.9i

This is just a minor suggestion for an improvement to csi.

When in csi you load an extension A which depends on an extension B
and you latter load the extension B, you don't get the syntax
definitions from extension B.  I think you should.

Here is one example:

   csi> (use stream-ext)
   ; loading /opt/chicken-2.3/lib/chicken/stream-ext.so ...
   ; loading /opt/chicken-2.3/lib/chicken/srfi-40-base.so ...
   ; loading /opt/chicken-2.3/lib/chicken/format-modular.so ...
   csi> (use srfi-40)
   csi> (stream-cons 1 stream-null)
   Error: unbound variable: stream-cons

I think its reasonable to expect the “(use srfi-40)” expresion to load
srfi-40.scm.

Not that this is a terrible issue, but I think use'ing an extension
should always load its syntax definitions.

Thanks!

Alejo.
http://azul.freaks-unidos.net/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]