Understanding tap

2018-12-19 Thread Alex Miller
tap is a replacement for using pr for debugging - libraries generally shouldn’t be using it indiscriminately. If you do have multiple things putting values into tap, they can tag their values appropriately. -- You received this message because you are subscribed to the Google Groups "Clojure"

Understanding tap

2018-12-19 Thread John Newman
Not sure why two wouldn't compose. You should probably wrap values in namespaced maps and dispatch with multimethods for your add-tap handlers. You could probably do pub sub pretty easy over that. But I'd like to see more examples with tap too. What alternative design were you thinking of? --

Understanding tap

2018-12-19 Thread Mark Engelberg
At first glance, tap seems like it doesn't compose well; two Clojure libraries that use tap for different purposes can't be combined. What is the reasoning behind having one global tap, rather than some sort of pub/sub model? -- You received this message because you are subscribed to the Google

[ANN] rep 0.1.0 - A single-shot nREPL client (hence no 'L')

2018-12-19 Thread Jason Felice
rep https://github.com/eraserhd/rep A single-shot nREPL client designed for shell invocation, to be used as a part of editor tooling, scripting, or monitoring. Binaries are built with Graal VM, so it has super-quick boot and turn-around time. For example, it takes 25ms to execute "(+ 2 2)" in

Re: [ANN] Oz 1.4.0 - Interactive data visualizations and scientific documents with Vega/Vega-Lite

2018-12-19 Thread Christopher Small
Quick note for posterity: Jaraj found a bug in the default credential path code (didn't work on mac) which he submitted a patch for and which I've just released as 1.4.1. So if you're on a mac and want to check out the `publish!` functionality, please update to 1.4.1. Thanks again Juraj!

[ANN] Pedestal 0.5.5

2018-12-19 Thread Daniel De Aguiar
Hi folks, Pedestal 0.5.5 has been released. This is a minor release containing some bugfixes. For more info check out the release notes . Thanks to everyone involved! - Dan and the rest of the Pedestal team. -- You received this

[ANN] Arcadia 1.0.0-beta: Clojure in Unity

2018-12-19 Thread Tims Gardner
Ramsey Nasser and I are excited to announce the first beta release of the Arcadia project. Arcadia integrates Clojure into the industry-standard Unity game engine at the bytecode level, enabling a uniquely fluid and immersive

Re: What do Clojure developers use for recurring functions, other than at-at

2018-12-19 Thread Rowan Hargreaves
+1 for at-at. I've used it recently and it works well. It uses ScheduledThreadPoolExecutor etc under the hood, and it's only 350 lines of readable code if you want to dig in. I have found its interface easy to use. As well as scheduling at specific times (the at function) or at regular

Re: Building a formatter like gofmt for Clojure

2018-12-19 Thread Marc O'Morain
Hi Daniel, I think that this is a great idea. I'm a big fan of gofmt, because it has no options - it prevents any discussion of indentation and instead allows code-reviews to be focused on the code itself. Marc On Tue, 18 Dec 2018 at 20:42, Daniel Compton wrote: > Hi folks > > In the last ten

Re: [ANN] Oz 1.4.0 - Interactive data visualizations and scientific documents with Vega/Vega-Lite

2018-12-19 Thread Juraj Martinka
Great, thanks for sharing! On Wednesday, 19 December 2018 05:31:25 UTC+1, Christopher Small wrote: > > > Hi Juraj > > Glad you have it working now! > > I mostly use oz from the Clojure REPL as an exploratory tool in my work on > Polis (see https://www.youtube.com/watch?v=2tBVMAm0-00). I have yet