Re: Migrating from Java/Spring to Clojure

2016-01-31 Thread Mikera
On Monday, 1 February 2016 05:19:17 UTC+8, John Krasnay wrote: > > Hi all, > > I'm migrating an application from Java/Spring to Clojure and I'm searching > for a good, functional approach. The app exposes a REST interface using > compojure-api and primarily interacts with a relational database an

Clojure compiler options

2016-01-31 Thread Alex Miller
I believe both of those guesses are correct - compiler options was added when the number increased and also the individual vars are easier to deal with individually. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email t

Clojure compiler options

2016-01-31 Thread Reid McKenzie
One for those of you who've been around longer. Is there a reason for *warn-on-reflection* etc rather than just adding kvs to *compiler-options*? My guess is that the former is more CL/traditional/just came first and that the latter seems to have been added to support -Dclojure.compiler.foo=bar b

Re: Migrating from Java/Spring to Clojure

2016-01-31 Thread Sean Corfield
John Krasnay wrote on Sunday, January 31, 2016 at 10:11 AM: Instead of this, I'm considering an approach where my functions instead return a data structure containing a description of the side-effects to be performed (e.g. "insert these rows into this table", "send this email", ...), and having

Re: [ANN] boot-new 0.3.1 -- Templates for Boot!

2016-01-31 Thread Sean Corfield
William la Forge wrote on Sunday, January 31, 2016 at 3:53 PM: >Ah, but my understanding is that the hoplon template itself does not work. >Micha made a fix some time back to the handler wrapper order--it was backwards >in the template, but can not himself release it to clojars. No idea. I don’t

Re: [ANN] boot-new 0.3.1 -- Templates for Boot!

2016-01-31 Thread William la Forge
levitanong *[*11:30 AM*]* yay I’m not crazy! 1 *[*11:30*]* thanks, @

Re: [ANN] boot-new 0.3.1 -- Templates for Boot!

2016-01-31 Thread William la Forge
Heres the rest... levitanong *[*11:12 AM*]* @flyboarder : Do you think I should file an is

Re: [ANN] boot-new 0.3.1 -- Templates for Boot!

2016-01-31 Thread William la Forge
Ah, but my understanding is that the hoplon template itself does not work. Micha made a fix some time back to the handler wrapper order--it was backwards in the template, but can not himself release it to clojars. >From the hoplon channel: > > levit

Migrating from Java/Spring to Clojure

2016-01-31 Thread John Krasnay
Hi all, I'm migrating an application from Java/Spring to Clojure and I'm searching for a good, functional approach. The app exposes a REST interface using compojure-api and primarily interacts with a relational database and sends email. I think most people end up passing their database connect

Re: [ANN] fudje - unit testing library vaguely resembling midje, but with less 'calories'

2016-01-31 Thread Timothy Baldridge
It's also interesting to note that I most often write my clojure.test code thusly: (is (= (some-function some-val) 42)) Which reads pretty much the same way, but without (many) macros. Technically `is` is a deep walking macro, but that's more about error reporting than DSLs. Timothy On

Re: In search of the little transducer

2016-01-31 Thread Mars0i
Thanks jjttjj, Magomimmo. I do prefer reading to videos, but I'll consider getting Baldridge's series anyway. Seems worth it. I don't mind paying. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googleg

Re: [ANN] fudje - unit testing library vaguely resembling midje, but with less 'calories'

2016-01-31 Thread Brian Marick
Timothy Baldridge wrote: This is a good example of a DSL, and it falls under the criticisms I level at most DSLs, mainly they aren't Clojure. If we dive into I note that Midje once had an intermediate “semi-sweet” functional interface that the `fact` macro expanded into. (It was most similar