I was curious what it would take to add a complex number type to Clojure Core. If anyone else is curious, it doesn't take much:
1.) Add clojure.lang.Complex 2.) Add a Pattern and code to match, parse and create complex numbers in LispReader (parses number of the form 1.0+0.0i) 3.) Add ComplexOps class (and a few related I tried to follow Ratio's example as closely as I could, though there is some trickiness things about implementing lt ... there really isn't an accepted definition for saying one complex number is greater than another. I'm a bit new to Git/GitHub and to Clojure, but if you're curious I think I correctly created a fork of the master branch with my changes. How would I go about submitting a ticket to add the "Complex" type and to create a patch to submit my proposed changes? Cheers, Travis -- 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