Open porky11 opened 7 years ago
Another, probably more useful way to extend mfor (#125 ), would be accepting multiple values. This would allow something like this:
(mfor (is-dir move-dir) ((is-left right) (is-right left) (is-down up) (is-up down)) (if (is-dir obj) (move move-dir)))
Stanza seems to have it already (see http://lbstanza.org/news.html, search for #for, the name of the macro)
#for
Another, probably more useful way to extend mfor (#125 ), would be accepting multiple values. This would allow something like this:
Stanza seems to have it already (see http://lbstanza.org/news.html, search for
#for
, the name of the macro)