comparison common.clj @ 106:5b0753c6f34d laserkard tip

updated to newest compojure and a simpler syntax
author Robert McIntyre <rlm@mit.edu>
date Mon, 27 Sep 2010 20:22:58 -0400
parents 874a6a2c28cf
children
comparison
equal deleted inserted replaced
105:3c398dd94f17 106:5b0753c6f34d
1 (ns laserkard.common 1 (ns laserkard.common
2 (:use (compojure.http request servlet session routes) 2 (:use (clojure.contrib prxml)))
3 (compojure.server jetty)
4 (compojure control)
5 (clojure.contrib prxml str-utils duck-streams)))
6 3
7 4
8 (defn pxml [ & args] 5 (defn pxml [ & args]
9 (with-out-str (apply prxml args))) 6 (with-out-str (apply prxml args)))
10 7