ANN: Læs og skriv regneark i Clojure
by mjul, July 20th, 2010 in News
Hej DCUG’ere
Jeg har lige skubbet v.1.4 af vores open-source spreadsheet library til Clojure ud på GitHub til fri afbenyttelse. Det gøre det nemt at læse og skrive Excel-ark.
Læs mere her: http://github.com/ative/docjure
Ris og ros og kommentarer modtages gerne
mvh
Martin Jul
ative.dk / mjul.com / Tw: @mjul
Tags: Announcements, Docjure, GitHub, Libraries
The doc string for the sheet-seq function says that it returns a lazy sequence of sheets. Is that right? Shouldn’t the list comprehension be wrapped in a lazy-seq for that to be true or is there something I am missing?
/mac
Thanks for your feedback.
The list comprehension macro, for, yields a lazy sequence of evaluations of its expression.
That said, however, it might be an idea to force the evaluation of the Java iterators (the sheet-seq etc.) since the underlying objects are mutable (I have not checked whether mutating the underlying object invalidates the iterator and the lazy seq that wraps it).
All the best,
Martin
http://www.ative.dk