xzd5dg
Last Updated: February 25, 2016
·
1.435K
· runexec
81609937c20aeab3598aea56f1f4f022

Understanding Arity between Functional and Imperative languages.

Our good friend Arity helps us understand operands.

<h1>Unary increment.</h1>
(inc i)
i++;

<h1>Binary increment</h1>
(+ 1 i)
i += 1;

<h1>Ternary increment</h1>
(if i (inc i) (inc i))
(i == i)?++i:++i;

Say Thanks
Respond