These are chat archives for nrinaudo/kantan.csv

11th
Feb 2016
Yawar Amin
@yawaramin
Feb 11 2016 20:36
@nrinaudo hi, just wanted to thank you for tabulate. it's a really cool design.
Nicolas Rinaudo
@nrinaudo
Feb 11 2016 20:39
Glad you like, I put a lot of efforts into this :)
I'm still working on some improvements, so let me know if you have any issues or feature requests
Yawar Amin
@yawaramin
Feb 11 2016 20:52
yeah :-) i might get back to you, i'm trying to handle nested case classes with it right now and trying to see if i can make it work.
Nicolas Rinaudo
@nrinaudo
Feb 11 2016 20:53
ah, nested case classes can be a problem, yes
you can't composed RowCodecs (yet), so if you have nested case classes of more than one field each, you're out of luck
well, you're out of luck for automated derivation, that is. You can always hand craft a RowDecoder or RowEncoder pretty easily
Yawar Amin
@yawaramin
Feb 11 2016 20:59
yup, i'm hand-crafting them right now, it's better than dealing with over CSV parsers haha
Nicolas Rinaudo
@nrinaudo
Feb 11 2016 21:01
well, I'm glad someone other than me is finding tabulate useful. Be sure to let me know if you get stuck, I can either get you unstuck or consider whether your use case is interesting / common enough to add specific support for it.
Yawar Amin
@yawaramin
Feb 11 2016 21:02
thanks! i'll let you know. i'm literally writing the decoders as we chat. it's a lot of fun.
Nicolas Rinaudo
@nrinaudo
Feb 11 2016 21:02
Oh, and don't be surprised if the library's name changes in the near future - it's going to become part of a set of libraries that follow the same design principles
It's going to be renamed to kantan.csv for v0.1.8. I'm about to release kantan.xpath, and there are a few other things in the works
Yawar Amin
@yawaramin
Feb 11 2016 21:04
interesting! i'm seeing another set of branded scala libraries too, the scala-* set. i guess those advocate their own design pattern.
Nicolas Rinaudo
@nrinaudo
Feb 11 2016 21:06
I must admit I'm not aware of scala-* - I mean, there's scala-csv, but it's sort of stand alone. Do you have a link?
Yawar Amin
@yawaramin
Feb 11 2016 21:08
i mean i haven't seen anything that coherently gathers them together, but i've come across stuff like scala-arm, scala-http, etc. by different people. in fact now that i think about it, the scala-* libraries are probably the 'blessed' libraries that Martin Odersky wants to recommend for most users.
Nicolas Rinaudo
@nrinaudo
Feb 11 2016 21:09
oh right, they're probably the modules that used to be part of the stdlib and that were spun out, like the XML library, or the parser combinators
Yawar Amin
@yawaramin
Feb 11 2016 21:10
yeah, that sounds about right.