Arc Forum
new
|
comments
|
leaders
|
submit
login
2 points
by
tokipin
6097 days ago |
link
|
parent
in the meantime i have devised a clever scheme i call "natural coercion":
arc> (with (x 0 y 0.0) (is (+ x 0.0) (+ y 0.0))) t
it can be toolified as:
(def eq args (apply is (map [+ _ 0.0] args)))