summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/boot.clj3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/boot.clj b/src/boot.clj
index 8094e2b3..4064281d 100644
--- a/src/boot.clj
+++ b/src/boot.clj
@@ -77,7 +77,8 @@
(defn eql? [x y] (. clojure.lang.RT (equal x y)))
-(defn str [#^Object x] (. x (toString)))
+(defn str [#^Object x]
+ (if x (. x (toString)) ""))
(defn strcat [x & ys]
(let [#^String s (str x)]