2010-07-01から1日間の記事一覧

treeコマンドを作る

Clojureの練習として、treeコマンドを作って・・・みようとしたのですが、 最初いきなりClojureで作ろうとして混乱してしまいました。 そこで、まず自分が使いなれたPythonでtreeを作ってみました。 実行例: $> python tree.py hello-clojure P:\\hello-clo…

java.rmi.server.UID is a restricted

GAEjでcompojureを使う場合、cljの先頭で (ns servlet (:gen-class :extends javax.servlet.http.HttpServlet) (:use compojure.html)) としてはいけません!!もし、compojure.htmlを使おうとすると・・・ HTTP ERROR 500 Problem accessing /. Reason: jav…