[ANN] system 0.2.0

2015-11-22 Thread Daniel Szmulewicz
I am happy to announce that system is now at 0.2.0 *What's new?* * *New components* - Cider nREPL component - Neo4j component - Quartzite component - ScheduledExecutorService component - Immutant web service component * *Modified compon

Re: How to check if a record implements a function of a protocol

2015-11-22 Thread Ghadi Shayban
Not possible. A type/record should not implement a protocol incompletely (though the compiler won't bark at you). It can be an indication that the protocol is too large/ill-conceived. Inspecting types is antithetical to using protocols... On Sunday, November 22, 2015 at 2:28:07 PM UTC-5, Timu

How to check if a record implements a function of a protocol

2015-11-22 Thread Timur
Hi, A record realizes a protocol but does not implement all functions of it. Is there a function to find out if a specific one is implemented or not? Simple example: (defprotocol IPro (fn1 [_] ) (fn2 [_] )) (defrecord MyRecord [] IPro (fn1 [_] "Test1|)) I want to check if MyRecor

[ANN] Specter book approach: please evaluate

2015-11-22 Thread Brian Marick
I announced a while back that I'd be writing a short book on Specter https://github.com/nathanmarz/specter After some thrashing and the usual interruptions, I have the first chapter written. I've taken an unusual approach: teaching Specter by having you implement parts of it. I'm curious to hea