> > A question: What happens when I type ) when I should type ]? E.g. > > (cond > [(foo x) "one"] > [(bar x) "two" |]) > > where | is the cursor position on the last line there, if I type a ) > on accident, will it jump to the outer paren of the (cond ...) block? > Will it interpret the keystroke as a ]? Will it signal an error about > the parenthesis? >
This would interact with the "automatically adjust closing parenthesis" preference - if enabled, then yes, when you type ), it will automatically match it as ] and skip over the ], not inserting anything. If the preference is disabled, then it would actually insert ) at the cursor position.
____________________ Racket Users list: http://lists.racket-lang.org/users