@Traws @richie - added, thanks. If take exists then it looks like icsa's ({&x#1}) is a little faster, but i love that it only needs to use where, and list literal syntax gist.github.com/chrispsn/…
also worth noting k7 (but not yet k9?) deferred execution of !x - not sure how this whole thing should account for such cases
I've been tinkering with something you folks might find interesting. A compiler from a K subset to GLSL fragment shaders: beyondloom.com/tools/specialk.html
co-dfns aspires to solve the much more challenging task of general computation on a GPU. Special-k is just a nice concise k-flavored syntax and sugar for writing fragment shaders that draw pretty animations on the screen.
on the plus side, though, since I'm only using GLSL ES in WebGL it should theoretically run on just about anything that can handle a modern-ish browser. Some people have said it works in Chrome on Android
I might integrate this thing with iKe eventually. You could do some really crazy shit if you could define uniforms and have both a shader and general oK program communicating with it