On Fri, Mar 10, 2006 at 05:33:01PM +0100, Leopold Toetsch wrote: > >a) Parrot's default namespace is untyped (raw). This means that a > >variable/subroutine can't have the same name as a namespace. This > >could break existing code. > > > >b) Otherwise, Parrot's namespace is (half-)typed, at least namespace > >and variable/sub are allowed to coexist with the same name. [1] > > I've implemented now b). The overhead is low (one if statement) and no > additional storage space is used, if either a NameSpace or a var_or_sub > is stored into a name slot.
Ah, well, I'm sorry to report that (a) was the correct answer; Parrot's default should be entirely untyped. Sorry I didn't catch this earlier, but I'm actually on the road today, so it's a good thing I caught it now before users could start counting on it. -- Chip Salzenberg <[EMAIL PROTECTED]>
