Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Namespaces in IMCC
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dan Sugalski  
View profile  
 More options Mar 9 2004, 12:49 pm
Newsgroups: perl.perl6.internals
From: d...@sidhe.org (Dan Sugalski)
Date: Tue, 9 Mar 2004 12:19:08 -0500
Local: Tues, Mar 9 2004 12:19 pm
Subject: Namespaces in IMCC
While we still need to nail down the final bits of namespace stuff,
I'm running into the need for it in IMCC code, so its time to finally
deal with it.

I don't really care what the syntax looks like, so I'm proposing:

    .namespace [foo; bar; baz]

as a way to set the current namespace for subs to foo::bar::baz. Any
sub defined from that point on in the current source file will go
into that namespace, unless the namespace is explicitly changed later
on.

We'll deal with namespaces shortly, after nailing down the last bits
of the current object scheme's inefficiencies.
--
                                         Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
d...@sidhe.org                         have teddy bears and even
                                       teddy bears get drunk


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.