On Wed, Apr 27, 2016 at 5:02 AM, Elias Mårtenson wrote:
> So, I wanted to simply take a string of characters, and create a list of
> each character and the number of occurrences of each character in that
> string.

Indeed it could be written in Dyalog very succinctly as
⊣,∘≢⌸ but I would write it portably with outer product:

      {v,⍪+⌿⍵∘.≡v←∪⍵}"abcfoobat"

-k

Reply via email to