Good morning,

I updated my dictionary addon: https://github.com/jpjacobs/types_dict

Now it has a lot more functionality: aside of just setting and getting
values, there are also inter-dictionary operations such as merging by key;
applying functions between values of corresponding keys, etc.

The lookup verbs getk and getv have been changed to allow returning a fill
value instead of an index error when getting an absent key/value. This
could be handy, but was especially needed for "appl" that can be made to
work taking the intersection or union of existing keys in dictionaries.

I think the docs are clear enough (look at help_pdict_ , or the README.md).

You can install by:
install 'github:jpjacobs/types_dict'

and load using:
load 'types/dict'

Somehow, JAndroid Beta insists on installing an older version, while
JAndroid on the same device does install the most recent version.

It comes with quite some tests you could look at for examples. To run them,
change directory to the addon dir and load 'test_dict.ijs'.

I'm looking forward to feedback, and hope someone finds it useful. I don't
yet have a use for it myself, but got carried away implementing it :p.

Jan-Pieter.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to