Arc Forumnew | comments | leaders | submitlogin
2 points by fallintothis 5855 days ago | link | parent

In case you didn't know, 'rem can also take a function predicate to test items against. For example,

  arc> (rem even '(8 6 7 5 3 0 9))
  (7 5 3 9)
So your example becomes:

  (apply string (rem [in _ "e" "u" "s"] '("T" "h" "a" "d" "d" "e" "u" "s")))


2 points by thaddeus 5855 days ago | link

lol... that would have been nice to know :) thnx

-----