Arc Forumnew | comments | leaders | submitlogin
1 point by sacado 6064 days ago | link | parent

Yep. if actually behaves likes the ?: operator in C

  printf ("%d\n", x == 0 ? 1 : 2);

  (prn (if (is x 0) 1 2)