I had a case today where I really wanted effectively a Java switch. cond seemed like overkill but then I stumbled on condp which is still more powerful than switch but pretty great for what I needed. The condp function has the following specification: clojure.core/condp<br /> ([pred expr & clauses]) where: pred – is a predicate that takes two arguments expr – is an expression to apply the predicat
There was a request on a HN comment for more info about “real world Clojure” so I turned what started as a comment and got long into a post about our experiences at Revelytix… We started using Clojure at the beginning of 2010 building a new set of enterprise data integration and analytics products at Revelytix. Initially we had 5 developers and we are currently up to 10. We have 9 people doing Clo
One useful utility built into Clojure is the ability to pop up a Swing app that can inspect a data structure. The inspector comes with clojure core so just do this to start using it: user=> (use 'clojure.inspector) If we want to look at our data in the form of a tree we can do something like this: (inspect-tree {:a 1 :b 2 :c [1 2 3 {:d 4 :e 5 :f [6 7 8]}]}) which will yield the following gui: Or t
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く