Linda wrote:
> Cap
> |domain error
Yes, as I noted in my original message, there is a bug in the display family
(5!:) that prevents the definition of Cap from being displayed. It boils
down to this:
((<":0)`)
|domain error
Which has been known for a while. If this clause is removed from the
definition of Cap, it will display just fine (but stop working, of course).
> What would be really great would be to UnCap and show me
> all the phrases using @ in a tacit expression.
Could you describe this in a little more detail, and maybe give some
examples? I enjoy building J tools, so I'd be happy to take a whack at it,
if it's within my capabilities.
Are you asking for something like this?
definitions =: 'namelist' ;@:(] (,&.> <)~&.> [ ".@:,L:0
' i.4',L:0~ ]) ('_' ,&.> '_' ,L:0~ ])@:conl bind ''
executable =: #~ 0 < nc
tacit =: #~ 0 = [: +/ 1 2 (#@(5!:7))L:0 1"0/ ]
atop_using =: #~ {.@('@' e.&;: ])@(5!:5) :: 0:"0
list atop_using tacit executable definitions ''
atop_using_base_ atterBoys_base_
definitions_base_ tacit_base_
GetSystemMetrics_j_ deb_j_
dltb_j_ fexist_j_
fileprintsetup_j_ deb_jijs_
flexist_jijs_ id2name_jijs_
...
tolist_jijs_ boxxopen_z_
coclass_z_ cocurrent_z_
codestroy_z_ conames_z_
conl_z_ jcwdpath_z_
jhostpath_z_ names_z_
pick_z_ toCRLF_z_
toJ_z_ type_z_
ucpcount_z_ uucp_z_
wdclipread_z_ wdforms_z_
wdisparent_z_ wdreset_z_
NB. Or, as re-usable verbs...
atterBoys =: list@atop_using@tacit@executable@definitions
upAndAtEm =: [: list [: atop_using [: tacit [: executable
definitions
(On the topic of @, it is instructive to compare atterBoys with the original
noun phrase, and then upAndAtEm with atterBoys and the noun phrase...)
> That is probably impossible because the definitions are so
> ambiguous.
Can you elaborate on this comment?
-Dan
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm