bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] String element of general array


From: David B. Lamkins
Subject: Re: [Bug-apl] String element of general array
Date: Fri, 09 May 2014 09:15:53 -0700

Try this:

∇z←list find key
 z←(,¨list)∊⊂,key
∇

(Also: please trim your replies.)

On Fri, 2014-05-09 at 10:26 -0500, Blake McBride wrote:
> Interesting.  I didn't know about ≡.  That's helpful, but the issue
> you raise with 'a' 'b' leaves us back to where I started.  There
> should be a simple way for me to determine whether to do ⊂ or not.  I
> just haven't figured out how.
> 
> 
> I read that there was a big debate about what ⊂ does on a scalar.  I
> suppose this is part of what I am running up against.  I'm sure the
> problem can be solved with a bunch of loops and branches, but I was
> hoping there is a clean APL way.
> 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]