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

Thank you!

-----