Re: Check if value is a ring handler

2016-01-29 Thread Atamert Ölçgen
You can check for a valid response using ring.util.response/response? (obviously requires calling the function in question) On Wed, Jan 27, 2016 at 7:42 AM, JvJ wrote: > Is there a way to dynamically check whether or not a given function > qualifies as a ring handler? > > -- > You received this

[ANN] Alia 3.0.0 - High performance Cassandra client

2016-01-29 Thread Max Penet
Alia is reaching 3.0.0, following its parent project datastax/java-driver. It covers the most recent features of the official client, while making it more pleasant to work from clojure. Alia is mature and very stable, it's been nearly bug free for years. It is in use by some very serious companies

Re: [ANN] Alia 3.0.0 - High performance Cassandra client

2016-01-29 Thread Max Penet
And I fogot to mention the changelog! https://github.com/mpenet/alia/blob/master/CHANGELOG.md#changelog On Friday, January 29, 2016 at 12:06:57 PM UTC+1, Max Penet wrote: > > Alia is reaching 3.0.0, following its parent project > datastax/java-driver. It covers the most recent features of the

[ANN] Chestnut 0.9

2016-01-29 Thread Arne Brasseur
Chestnut is a beginner friendly Leiningen template for web applications featuring Figwheel, Om, Compojure, easy testing, and easy deployment. https://github.com/plexus/chestnut/ This is a major upgrade that brings Chestnut up-to-date with the current state of the art. Figwheel and Clojurescript i

error in receipe 1 of "Clojure Data Structures and Algorithms Cookbook"?

2016-01-29 Thread gianluca torta
Hi all, I have just started reading this book, and went through the 1st Recipe: https://www.packtpub.com/application-development/clojure-data-structures-and-algorithms-cookbook Unfortunately, the recipe apparently does not work. On page 2, the author informally describes the recipe as taking: ["

Re: [ANN] Specter 0.9.2

2016-01-29 Thread Alan Thompson
Oh! I never even suspected that! So you are replacing a length-2 subsequence with a length-3 subsequence. Very flexible. It might be useful to point out that feature in the docs. :) Alan On Thu, Jan 28, 2016 at 10:49 PM, Nathan Marz wrote: > Both of those examples use half-open intervals

Re: [ANN] Specter 0.9.2

2016-01-29 Thread Nathan Marz
I updated the example with a larger replacement sequence to hopefully prevent that confusion in the future. You can also use srange to eliminate subsequences, e.g.: (setval (srange 4 7) nil [:a :b :c :d :e :f :g :h :i]) => [:a :b :c :d :h :i] And the navigator to prepend to a sequence is just se

Re: [ANN] Specter 0.9.2

2016-01-29 Thread Alan Thompson
nice. On Fri, Jan 29, 2016 at 11:18 AM, Nathan Marz wrote: > I updated the example with a larger replacement sequence to hopefully > prevent that confusion in the future. > > You can also use srange to eliminate subsequences, e.g.: > > (setval (srange 4 7) nil [:a :b :c :d :e :f :g :h :i]) > =>

Re: [ANN] Specter 0.9.2

2016-01-29 Thread Jason Lewis
Wow, I hadn't seen this lib before, it really *is* the missing piece in a lot of ways. One question, are you considering migrating from cljx to cljc for cross-compiling? We've been trying to eliminate cljx dependencies in favor of cljc, and I'd be happy to help with the effort if it's on the roadm

Re: [ANN] Specter 0.9.2

2016-01-29 Thread Nathan Marz
It used to use cljc but needed to switch to cljx so that it could be compatible with Clojure 1.6. It doesn't really affect users, it just adds some inconvenience to working on Specter itself. Once it looks like most people are on 1.7 or above, I'm all for switching it back to cljc. On Fri, Jan 29,

getting started: generated address-book directory does not match tutorial

2016-01-29 Thread hiskennyness
[Also posted in the Hoplon github issues area.] I have been working thru the https://github.com/hoplon/hoplon/wiki/Get-Started guide on a brand new Ubuntu VM running under vmware on windows 10 and all went well until: lein new hoplon address-book That actually went fine, but the resulting d

[ANN] boot-new 0.3.0 -- Templates for Boot!

2016-01-29 Thread Sean Corfield
What / Where? Boot new — a task to produce new projects from Boot and/or Leiningen templates! boot-new 0.3.0 — https://github.com/seancorfield/boot-new Updates? No longer depends on Bultitude. Only pulls in leiningen-core dependency if you generate a project from a Leiningen template. Built-in Bo

In search of the little transducer

2016-01-29 Thread Mars0i
Years ago, I learned Common Lisp and Scheme. I read a number of books that explained recursion. I understood what I read ... but I never really got it. It wasn't a part of me. Then I worked through *The Little Lisper* (renamed *The Little Schemer*), and it became second nature. Studied ML,