3 ms·
The rules are extremely simple and easy to grasp. And once you've grasped it, you'll never have to think twice about it. Parentheses take precedence. The firs
by jplayer01 6y ago
The rules are extremely simple and easy to grasp. And once you've grasped it, you'll never have to think twice about it.
Parentheses take precedence.
The first symbol is the operator (add, subtract, sum, multiply, etc.).
Everything else is operated on from left to right.
(+ 2 5 7)
2+5+7
It's also not a Clojure thing. It applies to all Lisps or related like Scheme.