Arc Forumnew | comments | leaders | submitlogin
7 points by Pauan 4580 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 4579 days ago | link

Thank you!

-----