If it works for nouns, there is no reason for it not to work
on other classes of names.

The complications are:
- do you permit erasure of a single assignment name (AS1)?
- do you permit destruction of a locale containing an AS1?
- do you permit an AS1s to be mapped to a read/write file?
- do you permit a global AS1 to be shadowed by a local name?
- need a facility to tell you what all the AS1s are
- need a facility to tell you whether a name is an AS1

 

----- Original Message -----
From: Don Guinn <[email protected]>
Date: Friday, January 22, 2010 8:31
Subject: Re: [Jprogramming] LoBrow: browser for locale contents
To: Programming forum <[email protected]>

> Did in include locking the names for verbs etc?
> 
> On Fri, Jan 22, 2010 at 8:51 AM, Roger Hui <[email protected]> wrote:
> 
> > > Another thing I'd really like in J (and rookies shouldn't be 
> allowed> > to ask such things) is something like the C++ 
> "const". A way of
> > > locking down the name of a quantity so that it can't be 
> changed during
> > > "the run", whatever that is -- at least not without raising 
> an error.
> >
> > As I recall, at one point in J there was a version
> > of the global copula =:: which is "assign once",
> > and an error "not reassignable" which is signalled
> > on subsequent assignments.  I don't recall why
> > that was removed.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to