3 ms·
I was really impressed with BQN as a modern APL. Give it a look.
by BoiledCabbage 2y ago
I was really impressed with BQN as a modern APL. Give it a look.
- upghost 2y agoLove the idea of ndarrays of first class functions, although I'm still trying to figure out what I'd do with all that power...
- dzaima 2y agoHere's some function list usage: for V0 here, branching on each potential character is inefficient; so an option is to do an array index-of among the characters, and pick out the respective function from a function list: https://dzaima.github.io/paste/#0dZLPSgJRFMb38xQXNyajNRPUwqykoFYRRLSJsJGmP1QmMuVCBBcx5NWoAYUWipIEzaptGwvazlucJ@gR@s4d01CDmTsz5/udb8659@zahcvta2fHKgpyHwVVnh1EZsOQtmk766dWQUkl8d1uyqQmhhCIrasjW5iIhUw6EbR@VU5cS0/BDca1spajyqeDO4s7XzjhVZks0ItMa5nCdQ5fJcAj0PWp82rETXsRjBEnt2lQxxdUuxXs4Poo0UcGG/lYSxancd0sJMWMRfIhaH29mbpF97VsjOofM1mS7wjHuD@/HLTFPHwFyQYwqvf1QxMm/F75NFS6iOwfREg@Mk@yl@ey3CZVu4O/h/H373ajj94zxdOzCztTUtFqFxdKLRvYAE07h@eNajoVPNF9dQXtwSC6EoWgMnQTlfRETsdPzDJrqQktMdT0cc0ROnVaJreZU216McCKTUyyif/Y2XF298/Y1O7SOs5Ieo5i45O@gzGa5ryvaGNZ5a8K3mbpzeWXOX9JhC4KPAhBbN8ADXfZy48ojIK2Z4TDeoz1BjLmUXrnw8Py8HhV88IvG@rEfwA#BQN https://dzaima.github.io/paste/#0dZLPSgJRFMb38xQXNyajNRPUwqy... (and, for a duration of 1 glyph, there's even a matrix containing functions there!)