Having it be absolute makes more sense to me, but there likely will be people who want relative. Maybe something like:

        $P0 = get_namespace[;"Foo";"Bar"]

Where the empty part mean "current namespace here." Of course, then it'd be really confusing because it's the opposite of pathnames on unix. Although if [;"Foo";"Bar"] is absolute, it makes sense as well because the default namespace is "unnamed" and it'd be more convenient than writing ["";"Foo";"Bar].

On Jan 25, 2006, at 9:01 AM, Leopold Toetsch wrote:

A bunch of namespace opcodes and methods could work absolute or relative. E.g.

  $P0 = get_namespace ["Foo"; "Bar"]

Where should the lookup start?

Is this to be considered absolute (from namespace root), absolute from the current HLL setting, or relative from the current namespace?

Thanks,
leo


Reply via email to