[Snow-users-list] include-program* usage

James Long longster at gmail.com
Thu Aug 16 12:43:26 EDT 2007

Sure, it uses the underlying module system of the host.  That's to be expected.

What I want is a *portable* fully qualified name.  It's pretty much
useless to use snow and to use a host-specific fully qualified name to
resolve conflicts.

I'm a little dissapointed that Snow focuses so heavily on loadable
modules, while it wouldn't be hard to make packages slightly more
usable as a namespacing mechanism as well.  How this relates to
releasing Snow packages publicly, I'm not sure, but I'd love to use
Snow for namespaces because much of the code is similar.  Maybe a real
'package' could be built with several namespaces and simply provide
the interface.  Namespaces are just for semantically separating code
after all.

So, I would love to see a portable fully qualified name syntax, as
well as something like a package-namespace* macro.  These are things
which I may build as extensions to Snow.  What's everyone think about

On 8/16/07, Etienne Laurin <laurieti at iro.umontreal.ca> wrote:
> On Thu, Aug 16, 2007 at 11:31:59AM -0400, andrew cooke wrote:
> > > Also, how does Snow handling naming conflicts?
> >
> > can't answer your other questions, but as far as i can see there's no
> > namepsace support for snow modules.  code seems to use "hopefully unique"
> > prefixes (myproject-function-name ...).  i was surprised by this - seems
> > to be the biggest omission given the other things snow fixes - so perhaps
> > i am wrong...
> Snow uses a different namespace for each package in gambit and chicken:
> > (load-program* pi/v1)
> > (pp (lambda () (pi-digits 4)))
> (lambda () (pi/v1#pi-digits 4))
> Etienne Laurin
> _______________________________________________
> Snow-users-list mailing list
> Snow-users-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/snow-users-list

James L
Indium Studios, Inc.
Graphics Programmer
longster at gmail.com

More information about the Snow-users-list mailing list