suggested complex indexes enhancement to { and }

6 views
Skip to first unread message

Pascal Jasmin

unread,
Aug 11, 2025, 4:49:45 PMAug 11
to Forum
if 

(< 0 2){ 0 (< 0 2)} i.3 3 
0

could be written as 

0j2 { 0 (0j2)} i.3 3

the main advantage would be to be able to store cell indexes in a list that includes other atomic numbers, or allow a function that computes an index to form an atom, or list of atoms (though boxing atoms or  vectors will allow them to be concatenated in caller).  Low priority for sure, but something intuitive other than domain error.

Elijah Stone

unread,
Aug 11, 2025, 5:43:14 PMAug 11
to 'Pascal Jasmin' via forum
then you have:

(1 j. 3)&{ -: (<1 3)&{
(1 j. 2)&{ -: (<1 2)&{
(1 j. 1)&{ -: (<1 1)&{

but not:

(1 j. 0)&{ -: (<1 0)&{

so you have to be extremely careful around zeroes. this does not seem very usable to me
> To unsubscribe from this group and stop receiving emails from it, send an email to forum+un...@jsoftware.com.
>
>

Pascal Jasmin

unread,
Aug 11, 2025, 6:41:17 PMAug 11
to fo...@jsoftware.com
withdrawn then, sorry.
Reply all
Reply to author
Forward
0 new messages