I agree 100%. I quite frequently use the style, more than any of the
alternatives. It even has a name, "Introduce Explaining Variable":
http://refactoring.com/catalog/extractVariable.html
Alan
On Sun, Oct 30, 2016 at 7:50 PM, Mikera
wrote:
> On Thursday, 27 October 2016 22:56:42 UTC+8, J
On Thursday, 27 October 2016 22:56:42 UTC+8, JHacks wrote:
>
> I have some confusion about how the function `comp` works, especially as
> compared to the threading macro `->>`.
>
> From the book *Clojure Programming* (pages 70-71 of Chapter 2: Functional
> Programming), the following two functions
Yes, it worked! Thanks!
For future reference here's the working code:
(ns signal.timeline
(:require #?@( :clj [[clj-time.core :as time]
[clj-time.format :as time-format]]
:cljs [[cljs-time.core :as time]
[cljs-time.format :as
you need to splice the vectors. Flying by so no time but the CLJX
example at http://clojure.org/guides/reader_conditionals gives an
example.
On 30 October 2016 at 17:45, Ricardo Mayerhofer wrote:
> Hi all,
> I'm developing an isomorphic project with ClojureScript and Clojure. In
> order to solv
Hi all,
I'm developing an isomorphic project with ClojureScript and Clojure. In
order to solve conditional dependencies I'm trying to use reader
conditionals just like the code below:
(ns signal.timeline
(:require #?( :clj [clj-time.core :as time]
[clj-time.format :a
On Tuesday, February 24, 2015 at 12:37:46 PM UTC, David Nolen wrote:
> :preamble will only be applied to the base module. When using :modules there
> is not such thing as a main output file.
>
>
> You cannot currently have a per module :preamble.
>
I recently wanted per-module :preamble when p