On Jun 25, 12:26 pm, Rich Hickey <richhic...@gmail.com> wrote:
> But it doesn't know when it sees the ) that ] is missing, it might not be:
>
> (prn [10)]
>
> i.e. the ) has nothing to do with the [, there might not even be a
> pending aggregate:
>
> user=> )
> java.lang.Exception: Unmatched delimiter: )

Good point. Then what about:

user=> (prn [10)]
java.lang.Exception: Unmatched delimiter ')', expecting ']'

user=> )
java.lang.Exception: Unmatched delimeter ')', expecting end

Where the expected value is the closing bracket of last opened
bracket, or "end", if there was no previous bracket.

- James
--~--~---------~--~----~------------~-------~--~----~
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