Arc Forumnew | comments | leaders | submitlogin
2 points by lojic 6174 days ago | link | parent

0 and 1 are true in Arc, right? In other languages, if two operands to 'and' are true, 'and' returns the second. 'or' returns the first if true.

Try instead:

  (and nil nil)
  (and nil t)
  (and t t)


2 points by godtvisken 6174 days ago | link

Ah.. I see. I forgot the way that "true" and "false" are represented in arc. Thank you.

-----