2013-07-05から1日間の記事一覧
Clojureを実行するときって、どういうバイトコードになっているんだろう? クラスファイルを作る まず、クラスファイルを出力するために:gen-classを付加する。 (ns clj.core (:gen-class)) (defn fuga [x y] (+ x y)) (defn hoge [] (fuga 10 20)) $ cd [pr…
Clojureを実行するときって、どういうバイトコードになっているんだろう? クラスファイルを作る まず、クラスファイルを出力するために:gen-classを付加する。 (ns clj.core (:gen-class)) (defn fuga [x y] (+ x y)) (defn hoge [] (fuga 10 20)) $ cd [pr…