Hi.  I’m working on a Wordle solver (it competes with my wife, which is a 
mistake on many levels) and have run into something that confuses me.

I wanted to “each” a bonded -. to an array of boxed strings.  But the bond 
seems to behave differently from the equivalent(?) unbonded expression.

   result =: 'a0b0o1d2e0'
   result -. '0'
abo1d2e
   -.&'0' result
abo1d2e
   result -. '012'
abode
   -.&'012' result
13564010916962913 4385872768 1 0 0
   
Everything behaves as expected up to  “53212034851425 0 6 1 5”, which seems 
very peculiar.  Could someone tell me what I’m missing here?  (J901 on iPadOS.)

Thank you.

Ed

Sent from my iPad
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to