By the way, here's what an
argmunger looks like in Arc:
(def argmunge (munger victim) (fn args (apply victim (map args munger)))) It's used like so:
arc> ((argmunge '(1 0) cons) 'x 'y)
(y . x)
arc> ((argmunge '(2 3 1 1 0 3 2) list) 'a 'b 'c 'd 'e 'f 'g)
(c d b b a d c)That took a couple of minutes to write, and worked first time. Sw33t! Though I
(
Read more... )