Apparently, map + regexps can do anything!I'm pretty sure perl's flavor of regular expressions are turing complete, so you could do it all without the map. (I guess that would make them trans-regular expressions. Anyone got a better name?)
In reply to Re^3: Seek one liner for distributing an integer
by sleepingsquirrel
in thread Seek one liner for distributing an integer
by johnnywang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |