[Jprogramming] Programming Digest, Vol 72, Issue 53

Mark Niemiec mniemiec at gmail.com
Wed Sep 28 04:40:18 HKT 2011


Subject: Re: [Jprogramming] Bug/Inconsistency among namelist verbs
from z  locale

Don Guinn <donguinn at gmail.com> wrote:

> To look at other locales simply put in the locale
>
>   nl_whatever_ ''

Yes, I know about that. That is how the base nl_z_ verb works in the
first place. However, explicitly specifying the locale to a verb ends
up specifying the locale IMPLICITLY to the contents of that verb. One
cannot make 4!:1 EXPLICITLY refer to a specific locale, and there is no
18!:n foreign to return all names in a specific locale. 4!:1 just returns
names in the current context, which includes the current locale plus all
local names. There is no way to explicitly exclude the local names.
My version of nl_z_ kludges around this by obtaining (globals+y) and
(globals+m+u+x), explicitly removing known locals to obtain (globals-y)
and (globals-(m+u+x)), and then deriving (globals only) from the union.

-- Mark D. Niemiec <mniemiec at gmail.com>


More information about the Programming mailing list