Fork me on GitHub
#clojure
<
2016-10-21
>
Alex Miller (Clojure team)00:10:41

@romain nothing new or changed - that's a literal var aka var-quote

hiredman00:10:36

there is the #^ metadata syntax, but that has been deprecated forever and a day

romain01:10:14

@alexmiller @hiredman aww… maybe #^then. Damn that brain

roelofw07:10:56

Is it possible to use machine learning so I can scan invoices and use it in my to build financial app ?

val_waeselynck08:10:48

@roelofw I don't think Clojure has a built-in feature for that 🙂

val_waeselynck08:10:35

there are plenty of ML libraries for the JVM though, and thanks to its interactive nature Clojure can be a nice environment to develop that kind of stuff

val_waeselynck08:10:44

I suggest you ask in #off-topic

tianshu08:10:59

How to write elegant code for:

int a = ...
if (x) a = ...
if (y) a = ...
if (z) a = ...
return a

tianshu08:10:33

I usually use:

(let [a ...
      a-1 (if (x) ... a)
      a-2 (if (y) ... a-1)]
    (if (z) ... a-2))
I think this is ugly.

kotyo08:10:48

oh yeah, that’s better

mpenet08:10:13

(-> a (cond-> (x) inc (y) dec )) etc

tianshu08:10:44

yeah, this is what i want. thanks!