My apologies for the noise.

I had entered
(interleave (whole-numbers) ["A" "B" "C"] [")
on the repl and hit enter.

When I went back and tried again and looked and looked. The problem is
the open string " prior to what appears to be a closing paren. In this
instance it isn't a closing paren but a part of the string which is
waiting to be closed. When I entered the closing " and then closing
paren. I was fine.

I should have provided more context in the original post and you could
have seen my error.

Again, my apologies.

Jimmie

On Dec 5, 11:03 am, jlhouchin <jlhouc...@gmail.com> wrote:
> Hello,
>
> While I am going through the Programming Clojure 2nd edition book, I
> am entering the code into a REPL.
>
> Sometimes when entering the code I enter a typo and hit enter and
> cannot get the REPL to close that malformed line.
>
> It often happens with an errant closing ] or ).
> Frequently this occurs when I go back in the history to edit a
> previous line to edit, explore and play with it. The closing paren is
> already in the line and I accidentally hit enter.
>
> I would love to know how I can cause that line to execute, and give me
> the error, so that I can go on and try again.
>
> Currently I end up having to exit the REPL and create a new one.
>
> If that is the only thing I can do, that is fine. I just wanted to
> learn if there was some other means of completing that line.
>
> Thanks.
>
> Jimmie

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to