JohnEarnest / ok

An open-source interpreter for the K5 programming language.
MIT License
588 stars 72 forks source link

Make where (`&`) multidimensional. #99

Open zgrep opened 2 years ago

zgrep commented 2 years ago

This would let you do &(1 2;3 4) to get (0 0;0 1;0 1;1 0;1 0;1 0;1 1;1 1;1 1;1 1), for example.

I found that this could be useful while solving an Advent of Code puzzle.