おいおいなんだこれ。 http://t.co/cdtjmfNBRR
Thus far, in the first two parts of what is turning into a series, when walking Clojure zippers, we’ve been mostly using a pattern like this: (require '(clojure [zip :as zip])) (defn recursion-for-recursion "Walking around doing nothing." [loc] (if (zip/end? loc) loc (recur (zip/next loc)))) Now, obviously, this function wouldn’t do anything except run the zipper out to its :end. But that has been
Let us start with a simple Node and Leaf class: // Node public class Node implements IZipNode { private String name; private final List<Node> children; public Node(final String name, final Node... children) { super(); assert(name != null); assert(children != null); this.name = name; this.children = Arrays.asList(children); } public String getName() { return name; } public Collection<Node> getChild
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く