Inside Clojure Journal

2019-01-29 Thread Shaun Parker
I just wanted to say thanks to Alex for taking the time to journal all the Clojure things he's working on (and the non-Clojure things as well). They're enjoyable to read and eye-opening. It's a great window into the effort that he and others are putting into Clojure. It's been fun to follow

Re: Russ olsen's Clojure Book

2018-01-22 Thread Shaun Parker
The book is now available to purchase. Thanks Russ, I can't wait to read it! https://pragprog.com/book/roclojure/getting-clojure On Wednesday, January 17, 2018 at 5:12:15 PM UTC-7, William Swaney wrote: > > Thanks Sean. > > On Tuesday, January 16, 2018 at 8:08:22 PM UTC-8, Sean Corfield wrote:

Re: [ANN] walmartlabs/system-viz 0.2.0

2018-01-20 Thread Shaun Parker
I just gave this a try on a couple systems. It worked perfectly and is a helpful visual aid. Great work, thanks Howard! Shaun On Friday, January 19, 2018 at 2:48:47 PM UTC-7, Howard M. Lewis Ship wrote: > > system-viz is a tiny, simple library to visualize a system, constructed > using Stuart

User error causes spec to freeze

2017-11-20 Thread Shaun Parker
I thought I'd put this note out in case anyone happens to run into spec functions freezing (e.g conform, valid?). I had a large namespace of specs, where one spec was just an alias of another: (s/def ::a int?) ;; other definitions (s/def ::b ::a) At a later point, I no longer needed the

Re: Source Code for Stuart Halloway's ETL Talk

2017-03-10 Thread Shaun Parker
Thanks for the update Alex. I can't wait to read the third edition of Programming Clojure! On Thursday, March 9, 2017 at 7:05:52 PM UTC-7, Alex Miller wrote: > > He has not yet released it but he is still planning to do so. -- You received this message because you are subscribed to the Google

Source Code for Stuart Halloway's ETL Talk

2017-03-09 Thread Shaun Parker
Does anyone know if Stuart released the source code from his presentation *Simplifying ETL with Clojure and Datomic *? If not, is there any timetable on releasing it? I just watched the presentation and am now hoping to review the source. Any help

Re: clojure.spec

2016-05-23 Thread Shaun Parker
Thanks to everyone who worked on it! I'm excited there's finally an idiomatic way and can't wait to use it. Is there any chance the three clojure.spec namespaces will be released as a library that could be use until 1.9.0 is released? It seems like we'd only be missing compile time macro

Re: Question about best pattern for side-effecting function with a return value

2014-02-10 Thread Shaun Parker
Hey Jarrod, Whenever I find myself writing out steps, like you just did, I like to use a method described by Stuart Sierra, pipelineshttp://stuartsierra.com/2012/05/16/syntactic-pipelines. In your case, I'd write something like this: (defn make-api-call! [{:keys [db-entity] :as state}]

Re: Question about best pattern for side-effecting function with a return value

2014-02-10 Thread Shaun Parker
(map) over a seq of db-entities or would you use something else (doseq, for, etc). I typically use map/filter/reduce 99% of the time and I'm just wander if (map api-call-pipeline! seq-of-db-entities) is idiomatic in this case. Best, Jarrod On Monday, February 10, 2014 7:36:49 PM UTC-5, Shaun