Implemented something like lambdas(fancy word to mean inline anonymous functions) in #Uxntal, it makes some types of code a bit more readable. Here's a little snippet that applies the body of a lambda to each pixels of a 256x256 texture. The body of the lambda is Viznut's code from the Permacomputing paper in the latest Computing Within Limits workshop.
poetaster
in reply to Devine Lu Linvega • • •WimⓂ️
in reply to Devine Lu Linvega • • •This is really handy for maps and folds.
As always I'm amazed by how quickly you inplemented this!