Search found 1 match
Search found 1 match • Page 1 of 1
- Mon May 20, 2019 3:40 pm
- Forum: Common Lisp
- Topic: Function to simplify math expressions
- Replies: 1
- Views: 729
I'm currently trying to write a function to simplify a given expression and the basic simplifcations are working but if there are nested lists i don't get the right result. E.g. if i try to simplify the lisp expression (simplify '(+ 3 (+ (+ 2 2) 2))) i get the result (+ 3 2) but the result should be...