Re: Recommended way to develop a command-line app in Clojure

2021-06-23 Thread matthew...@gmail.com
It's also probably worth testing out writing something in "normal" Clojure and compiling it to an uberjar instead of running it via lein / clj, because depending on what "fast" means to you, a normal jar will often fit the bill, since the JVM itself starts in ~100ms. On Wednesday, June 23, 20

Re: Mexico City Clojureists?

2020-10-21 Thread matthew...@gmail.com
Here, here. There's already a [Mexico City JVM meetup](https://www.meetup.com/jvm-mx/), but once we're able to we should put together a Clojure meetup as well. On Wednesday, October 21, 2020 at 2:59:01 PM UTC-5 nihilipster wrote: > Hola... not exactly in Mexico City but in the same country. >

Re: Rationale behind github.com/cljctools project

2020-08-31 Thread matthew...@gmail.com
You've probably seen this already, but https://github.com/ptaoussanis/encore is a great extended core libary for Clojure(Script) that I find myself using all the time in various projects. On Sunday, August 30, 2020 at 1:42:25 AM UTC-5 sergei...@gmail.com wrote: > Thought process behind and go

Re: First post: how to mimic a Java List with types?

2020-08-14 Thread matthew...@gmail.com
Another option would be to do what Alex is suggesting and define and as a function. Just because it’s a macro in clojure.core doesn’t mean you can’t write your own :) (defn eval' [x] (if (map? x) (apply (:fn x) (:coll x)) x)) (defn and-list [& items] (let [if? (fn [x] (if x true f