Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: UHURU unit structure

From: joel:neely:fedex at: 29-May-2001 9:50

Hi, Gabriele, Gabriele Santilli wrote:
> We really need modules, eh? :-) >
It would be nice, but I'd rather proceed based on what we can do now than wait for it.
> Or just: > > make-module [ > > ; *every* set-word found here will be made "local" > > ] > > make-module/global [a b c] [ > > ; *every* word except 'a, 'b and 'c is "local" > > ] > > It wouldn't be too difficult to implement IMHO. >
I'm willing to start with convention, and then figure out if we need the extra layer in the implementation. I'd rather keep the list of dependencies as small as possible, at least at first.
> but why not doing it automatically then?) >
My thoughts exactly.
> > It's up to the user of the unit to set those values wherever > > (s)he wishes. > > or even better, using a dialect: > > import-module some-module [ > exporting [a b c] > exporting [d e f] as [g h i] > exporting this as that > ] >
That would be a nice extension also. -jn-