[ANN] Foundation 0.1.0 - postgresql data access

2015-12-27 Thread Michael Ball
Foundation is a data access library focused on full support of postgres features and ease of use. Presently it supports common datatypes, execution of multiple statements, template queries with dynamic sections, a lightweight dsl for insert/update/deletes, and more. https://github.com/mikeball

building with Leiningen within Maven

2015-12-27 Thread Elango Cheran
Hi everyone, I've recently need to come up with a workaround for building a project that basically entails running a Leiningen build within Maven. I think that it will get the job done, but it's also definitely not my proudest moment... which is why I would like to know if anyone understands the

Re: gen-class: override only 1 method of an arity-overloaded method of a (Java) superclass

2015-12-27 Thread James Elliott
I don’t have a ton of experience with gen-class, but I think you need to tell it to expose the superclass methods you want to call using :exposes-methods, as described in http://stackoverflow.com/questions/9060127/how-to-invoke-superclass-method-in-a-clojure-gen-class-method In case it is of a

Re: Would a custom constructor for records be a silly idea?

2015-12-27 Thread juhovh
On Sunday, December 27, 2015 at 11:50:03 PM UTC+2, Francis Avila wrote: > In clojurescript you can just "override" the necessary protocols inline in > the defrecord. You will get a warning, but everything will work. You can > silence the warning by using extend-type instead of an inline implement

Re: CIDER 0.10 is out!

2015-12-27 Thread Leon Grapenthin
Wow. The debugger is simply awesome. Thanks! The inline evaluation with in buffer display is also a cool feature. And it works really well with the debugger. Upgrading highly recommended :) On Saturday, December 26, 2015 at 4:11:53 PM UTC+1, frye wrote: > > > On Tue, Dec 22, 2015 at 10:57 AM,

Re: Would a custom constructor for records be a silly idea?

2015-12-27 Thread Francis Avila
In clojurescript you can just "override" the necessary protocols inline in the defrecord. You will get a warning, but everything will work. You can silence the warning by using extend-type instead of an inline implementation. In clojure, doing this will give you a compile-time error, meaning you

Re: [ClojureScript] Re: [ANN] modern-cljs - 17th tutorial - REPLing with Enlive

2015-12-27 Thread Sean Corfield
Sven Richter wrote on Friday, December 25, 2015 at 1:08 PM: Maybe they changed something within the file access code in W10. This appears to be the case, yes. The issue on Windows 7 (and earlier — and maybe still on Windows 8?) is one that has caused countless problems for JVM based tooling that

Re: Would a custom constructor for records be a silly idea?

2015-12-27 Thread juhovh
Hi, Thank you for your help, but actually a factory function is not quite what I meant. My problem is that when I call assoc for the record it will create a new record calling the class constructor directly, not the factory function. So even if I add additional checks to the factory function a

Re: Would a custom constructor for records be a silly idea?

2015-12-27 Thread Mimmo Cosenza
A custum constructor (aka factory function) is even considered idiomatic https://github.com/swannodette/lt-cljs-tutorial/blob/master/lt-cljs-tutorial.cljs#L1289 HIH mimmo > On 27 Dec 2015, at 17:22, juh

Would a custom constructor for records be a silly idea?

2015-12-27 Thread juhovh
I'm wondering about the record usage where a record would have relations between its fields. This would be best explained with the following example: user=> (defrecord Time [minutes seconds]) user.Time user=> (->Time 0 59) #user.Time{:minutes 0, :seconds 59} user=> (update (->Time 0 59) :seco

Re: [ClojureScript] Re: [ANN] modern-cljs - 17th tutorial - REPLing with Enlive

2015-12-27 Thread Mimmo Cosenza
https://clojurians.slack.com/archives/boot/p1451225818007032 Mimmo > Il giorno 26 dic 2015, alle ore 21:42, 'Sven Richter' via ClojureScript > ha scritto: > > Hi Yuri, > > I followed to the CLJ bug and as far as I understood Alex said that clojure > is not related to this. This is also my t

Re: [ClojureScript] [ANN] modern-cljs - 17th tutorial - REPLing with Enlive

2015-12-27 Thread Mimmo Cosenza
Hi Sven, I forwarded your guess to the #boot channel on slack https://clojurians.slack.com/archives/boot/p1451213798007029 My best mimmo > On 26 Dec 2015, at 21:42, 'Sven Richter' via ClojureScript > wrote: > > Hi Yuri, > > I