Re: clojure spec fdef

2016-07-14 Thread Kendall Buchanan
Got bit by this also. On Thursday, 26 May 2016 04:21:15 UTC-6, Alex Miller wrote: > > It's a little tricky but you want: > > (s/fdef remove-autoinc-columns :args (s/cat :cols (s/spec ::columns))) > > Here the args data is ([{:foo "some_t"}]) and while you have an s/cat for > :args and an s/cat in

Re: Potential improvement to select-keys ?

2014-11-07 Thread Kendall Buchanan
I'll attempt an argument for returning the record's type in another way: I can always get a PersistentArrayMap from select-keys, if I want. Just add (into {} ...) to the chain. I cannot, however, retain the record type because select-keys *makes the decision for me*. In other words, letting sel

Om and core.async: Necessary together?

2014-04-09 Thread Kendall Buchanan
Hi, I have a question about Om's "Basic Tutorial", and perhaps core.async's role generally: The example given in the section, "Intercomponent Communication", uses core.async for communication between two components. Is this necessary? Or, is it demonstration? It seems in testing that I can eve

Re: [ANN] pdfkit-clj: Produce PDFs from HTML in Clojure

2013-08-24 Thread Kendall Buchanan
Update... the repository is moving under the "pdfkit" umbrella (the original Ruby pdfkit for wkhtmltopdf): https://github.com/pdfkit/pdfkit-clj On Thursday, August 22, 2013 8:38:47 AM UTC-6, Kendall Buchanan wrote: > > In case anybody needs HTML to PDF using wkhtmltopdf: > &

[ANN] pdfkit-clj: Produce PDFs from HTML in Clojure

2013-08-22 Thread Kendall Buchanan
In case anybody needs HTML to PDF using wkhtmltopdf: https://github.com/banzai-inc/pdfkit-clj Of course, I'd welcome feedback or pull requests... -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@google