On Thu, Jun 10, 2010 at 1:01 AM, Daniel Werner <[email protected]> wrote: > Jonas, > > Thanks for stepping forward and publishing your work. From the short > glance I had at it already, your code seems very low-level (probably > for performance), but sound. The only thing that, compared to other > CSV libraries I've used, I miss somewhat is explicit support for > "dialects". While the developer can set the separator, quote and > newline chars herself, it would be nice if there were a number of pre- > made maps for commonly used CSV dialects, e.g. Excel, whose values can > just be passed to the read and write functions. > > To give an example, Python's approach is quite simple yet effective. > Their use of class inheritance to define new dialects that are similar > to old ones would translate well to Clojure maps, by assoc'ing or > merge'ing the changes in. > > http://docs.python.org/library/csv.html#csv-fmt-params
I'll take a look at how python does things. Dialects sounds like a good idea. I have now added the lib to clojars so it should be ready for use with either leiningen or maven. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
