-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parinfer question #51
Comments
@otherjoel 's response:
Yes, this is expected/desired behaviour. Because If you indent The above assumes you're in Indent Mode (where you change indentation manually/directly and Parinfer handles the parens in the background, matching them to the indentation). |
Also wanted to add that 1) this is a great question, and 2) @otherjoel 's answer is spot on |
Thanks @otherjoel and @oakmac. I see now. Looks like it was user error, so might be just best to close. I still have a lot of reading to do! |
No worries; you won't regret learning Clojure :) If you haven't checked out the main Parinfer page, that might be worth doing. The short version is that Parinfer is just a plugin to your text editor that helps you write Lisp code by balancing parenthesis based on indentation (like Python or CoffeeScript). It doesn't fundamentally change the language or syntax; it's just a "human helper" ;) |
@oakmac I've spent a lot of time in debugging hell using RStudio's Shiny Web Framework where mismatched parenthesis are the number one cause of application errors. When I was investigating which language to explore next, and read about Parinfer, it was a massive plus for Clojure. |
I'm sure @shaunlebron will be glad to hear that :) |
👍🏻 |
FYI - @phillc73 and @otherjoel, I moved your conversation to this new Issue since it was unrelated to Issue #9. Thanks :)
@phillc73 's original question:
Just starting out with Clojure (first attempt at any Lisp language) so I hope this is not user error and I'm posting in the right Issue.
Following the "do" example in the Brave and True Clojure book, Parinfer in Atom wants to do this:
Rather than:
The text was updated successfully, but these errors were encountered: