Search found 1 match

by Liqu1d
Mon May 20, 2019 3:40 pm
Forum: Common Lisp
Topic: Function to simplify math expressions
Replies: 1
Views: 729

Function to simplify math expressions

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...