Groups
Groups
Sign in
Groups
Groups
clooj
Conversations
About
Send feedback
Help
read-line within clooj REPL
78 views
Skip to first unread message
kittekat
unread,
May 6, 2012, 10:57:43 AM
5/6/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to clooj
Hi,
I try to read something within the Clooj REPL:
(read-line) <=== I evaluate this in the REPL input
some input <=== my input in the REPL input generates the
following unexpected REPL output
"(do (clojure.core/dorun (clojure.core/map (fn*
[p1__1044__1045__auto__] (try (clojure.core/require
p1__1044__1045__auto__) (catch java.lang.Exception ___1046__auto__)))
(quote ()))) (clojure.core/binding [clojure.core/*source-path*
\"NO_SOURCE_PATH\" clojure.core/*file* \"NO_SOURCE_PATH\"]
(clojure.core/last (clojure.core/map clojure.core/eval (clojure.core/
let [sr__1039__auto__ (java.io.StringReader. \"some input\")
rdr__1040__auto__ (clojure.core/proxy
[clojure.lang.LineNumberingPushbackReader] [sr__1039__auto__]
(clooj.repl/getLineNumber [] (clojure.core/+ 0 (clojure.core/proxy-
super clooj.repl/getLineNumber))))] (clojure.core/take-while (fn*
[p1__1038__1041__auto__] (clojure.core/not=
p1__1038__1041__auto__ :EOF_REACHED)) (clojure.core/repeatedly (fn* []
(try (clojure.core/read rdr__1040__auto__) (catch java.lang.Exception
e__1042__auto__ :EOF_REACHED))))))))))"
If I do the same in a Leiningen REPL, I see the expected response:
user=> (read-line)
some input
"some input"
user=>
How can I get this also in Clooj?
I am on clooj 0.3.3 and clojure 1.3.0
Best regards
Kittekat
Делян Пирински
unread,
Sep 5, 2013, 7:20:26 AM
9/5/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cl...@googlegroups.com
I have the same problem. Any help or advice?
Делян Пирински
unread,
Sep 5, 2013, 11:15:22 AM
9/5/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cl...@googlegroups.com
(defn unclooj [shity-input]
(subs shity-input 724 (- (count shity-input) 337)))
Reply all
Reply to author
Forward
0 new messages