From 9050d2c69e5f6e978dc4633a3b613ced7affe3b3 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Mon, 19 Apr 2010 14:41:52 -0600 Subject: [PATCH] propagator web page actually working --- propagator.org | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/propagator.org b/propagator.org index cd18043..32acaed 100644 --- a/propagator.org +++ b/propagator.org @@ -134,8 +134,9 @@ at the end of the url, then there can be a couple of output cells which will render different views of the related data. #+begin_src clojure + (in-ns 'propagator) (use 'ring.adapter.jetty) - (use 'clojure.contrib.list-utils) + (use 'clojure.contrib.seq-utils) (import 'java.util.Date 'java.text.SimpleDateFormat) ;; cells @@ -144,7 +145,7 @@ which will render different views of the related data. ;; propagator -- adds value of input to names (propagator adder [input names] [names] - (when (count (seq input)) (set (cons input names)))) + (when (> (count (seq input)) 0) (set (cons input names)))) ;; web wrapping (let [out *out*] -- 2.11.4.GIT