Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Kap Programming Langage (dhsdevelopments.com)
9 points by aebtebeten 11 months ago | hide | past | favorite | 1 comment


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: