So, just to be clear, you thought you'd just go ahead and fork, rename, and
reannounce my project, instead of sending me an email? I'm quite open to
collaboration and try to work quickly with people on patches, such as with
Julian Eduard's recent work to make Hickory work on Clojurescript. I'm
sorr
Just wanted to stop by and update this thread with the latest
information. I just released Stencil 0.3, at
http://github.com/davidsantiago/stencil and it contains many
performance improvements. I have pushed the benchmarks I use to test
it, including an adaptation of yours, to
http://github.com/dav
Yeah, CSV files can have embedded newlines, so you can't just split it
up on linebreaks and expect it to work, you need to send them through
a parser.
parse-csv *is* lazy, so my question is, are you doing this at the
repl, exactly as you wrote? If so, it will lazily parse the file, and
then print
One library you could use is one I wrote called Clojure-CSV, which you
can find at http://github.com/davidsantiago/clojure-csv. If you have
any questions, feel free to email me or message me on github.
David
On Sun, Feb 26, 2012 at 3:33 PM, meteorfox
wrote:
> Hi,
>
> I'm interested in creatin
Thanks! Let me know if you need anything along those lines and we'll see
what we can do.
David
On Tue, Oct 4, 2011 at 2:24 PM, Laurent PETIT wrote:
> 2011/10/4 David Santiago :
> > They are not related, although clojure-csv was first. I first found out
> > about data.csv
They are not related, although clojure-csv was first. I first found out
about data.csv existing, and being added to contrib when someone asked a
question about it a few weeks ago. Given the number of users, I have no
choice but to continue maintaining and improving clojure-csv.
David
On Tue, O
No problem. It's a key piece of one of my own libraries, so thank
goodness it was already there when I found myself needing it.
David
On Tue, Jul 12, 2011 at 3:09 PM, Daniel Janus wrote:
> Hey, thanks for recommending my library! :-)
> Best,
> Daniel
>
> --
> You received this message because
Check out the library clj-tagsoup: https://github.com/nathell/clj-tagsoup
David
On Tue, Jul 12, 2011 at 11:10 AM, Asim Jalis wrote:
> Is there a way to convert a large HTML document to a vector notation.
> So something that converts "Hello" to [:n1
> {:a1 = "v1"} [:n2 "Hello]].
>
> I am using
Also, you don't want to simply split the CSV into lines by looking for
newlines. CSVs can contain newlines quoted in fields, so you need to
actually parse the CSV with quoting to figure out the line breaks for
the file format and ignore the line breaks in the fields.
- David
On Fri, Jun 17, 201
a given column.
> #'user/get-column
> user=> (get-column csv 1) ;; Get second column as a sequence.
> ("2" "5" "8")
>
> to read in a .csv file, and then perform the functions on the parsed
> csv file, but I am getting clojure.lang.LazySeq cannot be
#x27;ve got to go back and look at your documentation. I'm not sure how
> to pull the columns out of each row.
>
> On Jun 15, 5:04 pm, David Santiago wrote:
>> I'm afraid I don't understand the question. What do you mean
>> "positionally?" When it parses t
I'm afraid I don't understand the question. What do you mean
"positionally?" When it parses the CSV file, it gives you back a
stream of rows, each row being a vector of the contents of each cell
of the CSV. If you are interested in cells at a given row/column, you
should be able to count into those
I think the basic problem is Clojure is not able to find the
clojure-csv jar file. I'm afraid I'm not quite clear enough on your
specific setup to know exactly what has gone wrong. I'm not sure where
you have this jar, or what exactly the shell scripting stuff is in
that command you're using to lau
Hi, I actually wrote a sort of counterpart to leafs a while back:
(defn- rmap
"Implementation core for map-at-levels."
[func obj lvls lvl]
(let [children-mapped (if (coll? obj)
(for [c obj]
(rmap func c lvls (inc lvl)))
Hi everyone. I wrote a CSV parsing and output library for my own uses
when I didn't see another one available. Someone on #clojure suggested
it might be of general interest for clojure.contrib. If you guys
agree, I'm happy to do whatever is necessary to assist with that.
The code is at http://gith
15 matches
Mail list logo