dissect error on semi-dual

16 views
Skip to first unread message

Jörg Sommrey

unread,
Jan 31, 2026, 8:36:10 AM (13 days ago) Jan 31
to fo...@jsoftware.com
Hi all,

I'm new to J and this forum, so please excuse me if this question has
already been answered elsewhere.

Trying to dissect a phrase containing a semi-dual results in an error message:

]bl =. (<3 2 1),(<'c';'b';'a')
┌─────┬───────┐
│3 2 1│┌─┬─┬─┐│
│ ││c│b│a││
│ │└─┴─┴─┘│
└─────┴───────┘
1 0 1 #&.(a:`>) bl
┌───┬─────┐
│3 1│┌─┬─┐│
│ ││c│a││
│ │└─┴─┘│
└───┴─────┘
dissect '1 0 1 #&.(a:`>) bl'
domain error: operands to &. must be verbs

Is this my error or dissect's?

Best regards,
-jo

Marcin Żołek

unread,
Feb 1, 2026, 7:41:09 AM (12 days ago) Feb 1
to fo...@jsoftware.com
Hi,
This message shows up because semi-duals aren’t supported in Dissect
yet. It would probably be clearer if it said 'dissect restriction'
rather than 'domain error'. Thank you for the report, update is coming
soon :-)

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

Jörg Sommrey

unread,
Feb 1, 2026, 12:24:42 PM (12 days ago) Feb 1
to fo...@jsoftware.com
Thank you! A great tool for a great language.

-jo

On Sun 01 Feb 2026 01:41:04 PM CET, Marcin Żołek

Henry Rich

unread,
Feb 1, 2026, 1:08:19 PM (12 days ago) Feb 1
to fo...@jsoftware.com
Dissect was written approximately when the J release was 8.2.  The
language has changed a bit since then. Marcin Żołek is in charge of
Dissect now; he has fixed most of the old stuff that was broken by
changes through 9.6, and plans, as time permits, to support the new
features that have been added.

Henry Rich
Reply all
Reply to author
Forward
0 new messages