J9.8.0-beta4 available

33 views
Skip to first unread message

Eric Iverson

unread,
Jun 25, 2026, 11:25:08 AM (12 days ago) Jun 25
to fo...@jsoftware.com
Release notes: https://code.jsoftware.com/wiki/System/ReleaseNotes/J9.8

To upgrade from previous beta install:
start jconsole j9.8
   load'pacman'
   'install'jpkg'*'
   exit''

You need to do a full install of the 9.8 beta to get started.

To install from scratch:
https://code.jsoftware.com/wiki/System/Installation/J9.8

Pascal Jasmin

unread,
Jun 26, 2026, 1:07:22 PM (11 days ago) Jun 26
to fo...@jsoftware.com
symbols removed.  Claim that there is an addon to replace them.  I cannot find it.

To unsubscribe from this group and stop receiving emails from it, send an email to forum+un...@jsoftware.com.

Henry Rich

unread,
Jun 26, 2026, 1:25:28 PM (11 days ago) Jun 26
to fo...@jsoftware.com
I put the new code (which is in the data/dict addon) into the repo but it isn't visible in PacMan.  We're working on it.

Henry Rich

Henry Rich

unread,
Jun 27, 2026, 12:06:25 AM (11 days ago) Jun 27
to fo...@jsoftware.com
The data/dictionary name changed to data/dict, and I think that prevented the addon from being updated.  I have now updated it as data/dict and it seems to be there.

Use pacman to update all your addons, and then you can use the symbol replacement.

Henry Rich

On 6/26/2026 1:06 PM, 'Pascal Jasmin' via forum wrote:

Pascal Jasmin

unread,
Jun 27, 2026, 7:38:36 PM (10 days ago) Jun 27
to fo...@jsoftware.com
Overview of this is that it appears to store index added as the value.  You use the monad version of put to add keys, and duplicates are ignored.  The items function behaves like the "just keys" version of jdict, in that in returns only keys.  You can store the "symbol" elsewhere as that integer, and then retrieve <symbol string by ( { items) .

 

params =: 'hash' ,&< ('keytype' ; 'boxed') ,: ('valuetype' ; 'integer')


a =. params conew 'jsymbol'

put__a cut 'aa bb aa cc'

items__a ''

┌──┬──┬──┐

│aa│bb│cc│

└──┴──┴──┘

get__a items__a ''

0 1 2

put__a cut 'aa bb aa cc'

get__a items__a 'aa'

0 1 2

1 2 { items__a 'aa'

┌──┬──┐

│bb│cc│

└──┴──┘



filter allows for string keys (just char maybe?), but its buggy.

]params =: 'hash' ,&< ('keytype' ; 'literal') ,: ('valuetype' ; 'integer')

 b =. params conew 'jsymbol'

put__b 'abc'

items__b ''


"junk"

   get__b 'a'

0

get__b 'c'

_1



has keyshape/valueshape been fixed?




Henry Rich

unread,
Jun 28, 2026, 11:57:56 AM (9 days ago) Jun 28
to fo...@jsoftware.com
You found a bug in dictionaries, which afflicted 1-byte keys (pretty unusual, that).  I have fixed that for the next beta; in the meantime use longer keys.

(valuetype) and (valueshape) should not have been allowed.  I have fixed it so they are not.
(items) was not among the supported functions for symbols, but I agree it should be & it is now.  Refresh the addon to version 1.1.6 to get these changes.

On my system I now see

   load'dict'

   ]params =: 'hash' ,&< ('keytype' ; 'literal')
+----+-----------------+
|hash|+-------+-------+|
|    ||keytype|literal||
|    |+-------+-------+|
+----+-----------------+

   b =. params conew 'jsymbol'
   put__b 'abc'

   items__b ''
abc
   get__b 'a'
0
   get__b 'bc'
1 2
   get__b 2 1
cb

Henry Rich



Reply all
Reply to author
Forward
0 new messages