aboutsummaryrefslogtreecommitdiff
path: root/clojure/src/core.clj
diff options
context:
space:
mode:
Diffstat (limited to 'clojure/src/core.clj')
-rw-r--r--clojure/src/core.clj7
1 files changed, 6 insertions, 1 deletions
diff --git a/clojure/src/core.clj b/clojure/src/core.clj
index 27599c0..73d8fb4 100644
--- a/clojure/src/core.clj
+++ b/clojure/src/core.clj
@@ -1,4 +1,5 @@
-(ns core)
+(ns core
+ (:require [readline]))
;; Errors/exceptions
(defn mal_throw [obj]
@@ -26,10 +27,14 @@
['true? true?]
['false? false?]
['symbol? symbol?]
+
['pr-str pr-str]
['str str]
['prn prn]
['println println]
+ ['readline readline/readline]
+ ['read-string reader/read-string]
+ ['slurp slurp]
['< <]
['<= <=]
['> >]