4 ms·
Don't most array languages have first class functions?
by smabie 2y ago
Don't most array languages have first class functions?
- upghost 2y agoThey have functions but not first class functions. Think (the ability to make) a vector/matrix of functions rather than just numbers :O What could you do with that? I don't know, but I bet some pretty cool stuff.
- bear8642 2y ago> What could you do with that? Just a couple quick ideas: fns ← f g h ⍝ array of function fns[condition] args ⍝ select function to run (3 0 0⌿fns) args ⍝ f f f args