1 comment

[ 3.2 ms ] story [ 12.0 ms ] thread
Courtesy of <https://codeberg.org/loke/array#what-the-language-looks-like>

> The first line of code in the following example assigns a string to the variable A, and the second line splits the string at instances of -, returning an array of arrays (a string in Kap is nothing more than a one-dimensional array of characters):

  A ← "this-is-a-demo"
  A ⊂⍨ A≠@-
Oh, I see