|
|
|
|
|
by aeonik
9 days ago
|
|
I'm starting to prefer the s expression syntax when dealing with tree structures like json. I wonder if we were raised on tree based algebra if math would be easier to do, or harder. Like, solve for x. (= (+ (* 2 x) 3) 11)
(= (* 2 x) (- 11 3))
(= (* 2 x) 8)
(= x (/ 8 2))
(= x 4)
Though this isn't too bad. (= (+ (pow x 2)
(pow y 2))
(pow r 2))
|
|
Perhaps this exists already somewhere?