Maybe I should elaborate on this a bit more:

] LHS =: ;: 'start-A'
┌─────┬─┬─┐
│start│-│A│
└─────┴─┴─┘
   ] RHS =: ;: '-'
┌─┐
│-│
└─┘
   LHS -. RHS
┌─────┬─┐
│start│A│
└─────┴─┘
   (;: 'start-A') -. (;: '-')
┌─────┬─┐
│start│A│
└─────┴─┘

Or was the missing link for you somewhere else?

Am 17.01.22 um 04:56 schrieb Hauke Rehr:
First, you apply ;._2
Then it’s just a row-wise -.&;:

eg
    'start-A' (-.&;:) '-'
┌─────┬─┐
│start│A│
└─────┴─┘


Am 17.01.22 um 04:01 schrieb P Padilcdx:
Slowly following the discussion. I confess I’m stuck at how the composition of -.&;:&’-‘ work in the unpack verb.  Try to read the description of & in NuVoc and LJ, but i confess to still be clueless as to how J parses it. I experimented a bit but still perplexed.  Can someone point me in the right direction?  Much appreciated.


Thanks
Pete

On Jan 2, 2022, at 11:52 AM, Raul Miller <[email protected]> wrote:

unpack=:-.&;:&'-';._2

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



--
----------------------
mail written using NEO
neo-layout.org

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

Reply via email to