[plt-scheme] planet require idea

From: Eli Barzilay (eli at barzilay.org)
Date: Thu Mar 20 10:25:44 EDT 2008

On Mar 20, Robby Findler wrote:
> On Thu, Mar 20, 2008 at 9:13 AM, Eli Barzilay <eli at barzilay.org> wrote:
> > On Mar 20, Robby Findler wrote:
> >  > There's extra stuff that fits into the parenthesized version of
> >  > the names that probably wouldn't fit into these names, but it
> >  > may be worth trying to come up with a syntax. Jacob?
> >
> >  I think so too -- just like the fact that there are some `(lib
> >  "...")'  names that don't fit into the symbol version (= when the
> >  filename does not have a .ss suffix).
> 
> Well, I'd say that the missing planet names are more useful than those.

The principle is still the same...  Maybe something like making

  (planet FILE-NAME PKG-SPEC [PATH ...]) 

shortened as

  (planet <OWNER>/<PACKAGE>[:<V1>[:<V2>]]/<path>/...)

    where <V1> is a number and <V2> is a number or `=<number>' etc

This should work out fine, since `:'s are not allowed in portable path
names.  It will even have the side benfit of requiring a few planet
packages in a single (planet ...) form.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!


Posted on the users mailing list.