I couldn't comment in your blog, so I'll write it here. I would prefer the following solution:
(let [matrix [[1 0 1] [0 1 0] [1 0 1]]] (simplify `(* 5 (determinant ~matrix)))) with the option of using a macro construct-expression: (let [matrix [[1 0 1] [0 1 0] [1 0 1]]] (simplify (construct-expression (* 5 (determinant matrix))))) construct-expression could query the current environment: http://blog.jayfields.com/2011/02/clojure-and.html Am Freitag, 14. Juni 2013 23:24:50 UTC+2 schrieb Maik Schünemann: > > Hi, > I discussed general design issues for expresso before, but the (for you) > most important part - the user api - was left out. > I have written a blog > post<http://kimavcrp.blogspot.de/2013/06/constructing-algebraic-expressions.html> > about > what is the most seamless way to use expresso and discussed a few different > ideas. > I would like to know which approach is your favourite, or if you can think > of an other, better way of using it. > > There is also the interesting idea of making it an implementation of > core.matrix, so that it can be trivially used on any > core.matrix expression. > > kind regards > Maik > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.