Arc Forum
new
|
comments
|
leaders
|
submit
login
2 points
by
lojic
6118 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
6118 days ago |
link
Ah.. I see. I forgot the way that "true" and "false" are represented in arc. Thank you.
-----