k programming language download (then $chmod +x k) examples cs107 $k s:2 / atom/scalar v:2 3 4 / list/vector s+v 4 5 6 m:(v;3 4 5) / list/matrix +/m / + over 5 7 9 +/'m / + over each 9 12 v 1 / apply(index) 3 d:[a:2;b:3] / dict d `b / apply(assoc) 3 d+d [a:4;b:6] f:{x+2} / function f 1 / apply(call) 3 f v 4 5 6 .. k is similar to clojure and python but does more with less, e.g. trillion row databases q4 and self-contained graphics edit.k kOS one system. all devices. from scratch. kDB store anything. compute anything. fast. iverson: turing award paper perlis: lyrical programming