Arc Forumnew | comments | leaders | submitlogin
7 points by Pauan 4763 days ago | link | parent

"=" is used for assignment, not equality. Use "is":

  (def f (x) (if (is x 0) 0 (< x 0) -1 1))


1 point by alexpogosyan 4762 days ago | link

Thank you!

-----