On Thu, Jun 25, 2009 at 12:38 AM, Mark Addleman<mark_addle...@bigfoot.com> wrote: > > Searching through this forum, I found many posts relating to improving > Clojure's error messages. I stumbled across one where Rich makes a > plea for concrete suggestions to specific cases. I'm very sympathetic > to that, so I'd like to start a thread of specific coding errors that > I've run across where I've felt the error messages could be improved. > > (*) Improperly specifying a map, e.g. "{:a 1 :b}" yields an array out > of bounds exception.
It seems like this could be caught at read time, just by having the Map classes complain about non-even-length init arrays. --Chouser --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---