Hi all! General question that is probably more .Net related than Clojure related, so I apologize in advance. Is anyone familiar with more or less equivalent Clojure or .Net libraries for clj-time and clojure.data.csv?
Okay, I have it forked and modified. It loads. The tests run. https://github.com/dmiller/data.csv I don't have time right now for an official release, but you could just take the one source file and drop it into your source. To make it an official release, I have to get it packaged for Nuget. That doesn't take long, but I really don't like to do that until we decide officially where its home will be. Regarding its final home, I made all the changes as conditionalizations, so this source will load under both Clojure and ClojureCLR. Sometimes, in situations such as this, the folks at Clojure headquarters will accept my changes and fold them into the original repo. (That includes the extra files I need for the Nuget packaging.) Most times, we create a separate repo, which in this case would be clr.data.csv. I'll check in with headquarters and let you know when it has a home. In the meantime, I hope the expedient of just copying the file will serve you. (@alexmiller, this is the bit of business I referred to in my email from yesterday.)
Yes indeed, that works fine for us. Thank you!
Much appreciated!
Just from a quick peek at the code, it looks like 30 minutes of work to port clojure.data.csv.
I could give it a try if needed.
As for clj-time, no equivalent that I know of. clj-time is an interface to Joda Time? No equivalent for .Net. You are looking for nicer ways to deal with DateTime DateTimeOffset and TimeSpan? Or making it easier to port some code?
Ease of porting some code. For clojurescript we dropped in testdouble.cljs.csv and cljs-time . just curious if there was a similar 'drop-in' replacement. Like you said, doesn't seem too hard to polyfill if not.
@dmiller if you have the time in the next week or so we would greatly appreciate a port! Otherwise we would tackle it ourselves.
Let me see what I can do over the weekend.
This link has several CLR ports of standard libraries: https://github.com/orgs/clojure/repositories?q=clr There's one for clojure.data.json, but not csv it seems