Re: callback before evicting element from cache [core.cache]

2016-11-14 Thread juan.facorro
An option would be to wrap any of the implementations in core.cache with your own using core.cache/defcache. Every CacheProtocol function would just use the underlying cache, except for the evict where you would handle the closing of the file descriptor. On Tuesday, November 15, 2016 at 12:49:2

Re: s/valid? vs. s/explain

2016-11-14 Thread James Gatannah
Ticket filed: http://dev.clojure.org/jira/browse/CLJ-2057 Thanks! On Sun, Nov 13, 2016 at 3:36 PM, Alex Miller wrote: > Any case where valid? returns false and explain-data returns nil is a bug. > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group.

[ANN] Tracks 0.1.7 has been released.

2016-11-14 Thread Bryan Maass
Hello, Tracks is an attempt to simplify the excellent destructuring syntax in our beloved Clojure(script). https://github.com/escherize/tracks It focuses on using (and documenting) the shape of data to destructure. Please check out the readme! :) Cheers, Bryan -- You received this message b

[ANN] zprint, lein-zprint Pretty print your code and data

2016-11-14 Thread Kim Kinnear
I'm pleased to announce the release of *zprint*, a new Clojure(script) pretty print library and associated leiningen plugin to apply it to your source files. The zprint library will pretty print the code in your source files when driven by* lein-zprint*, as well as pretty print structures (a

Re: [ANN] Clojure Programming Cookbook

2016-11-14 Thread Colin Yates
Congrats - it is amazing how much effort this takes :-). On Tuesday, 15 November 2016, Nicolas Modrzyk wrote: > Hi Clojure people, > > So after one year and 23 days, (that would be 388 days) the IT book I was > working on with Makoto (merci!) finally got published! > > It has been a long battle

[ANN] Clojure Programming Cookbook

2016-11-14 Thread Nicolas Modrzyk
Hi Clojure people, So after one year and 23 days, (that would be 388 days) the IT book I was working on with Makoto (merci!) finally got published! It has been a long battle with many late nights to get it out, tough deadlines and never-ending reviews, but thanks to some skilled people at Packt,

callback before evicting element from cache [core.cache]

2016-11-14 Thread anurag peshne
Hello, I'm trying to use core.cache as a open file cache. I want to close the file descriptor when the cache entry is removed. However, there is no way to pass any callback before an entry is evicted.

[ANN] invariant 0.1.0 – Invariants on Clojure Data Structures

2016-11-14 Thread Yannick Scherer
*Description* > *invariant *is a library providing semantic invariants on Clojure data > structures. Built upon specter it > allows for declarative definition and efficient > resolution of data constraints, focusing on useful error reporting > capabilit