[plt-scheme] Paren Paralysis Sufferers Unite
Your mistake is that you write () when you should write {}. Just
substitute all of your () for {}s and then you'll be happy.
Robby
On Fri, Oct 16, 2009 at 2:29 PM, Morgan <lianciana at gmail.com> wrote:
> Hi,
>
> Newbie here getting used to scheme and getting a whole lota
> "procedure application: expected procedure blah blah blah blah"
> because of missing parens.
>
> How do you all cope emotionally? :-p
>
> More importantly, what survival tricks are there to discovering
> whether there's too few or too many parens? Just knowing the syntax
> backward?
>
> I mean, my nice purple SICP book informs me LISP doesn't give a crap
> about syntax compared to most languages, yet the interpreter throws a
> fit if I've a single pair of superfluous parentheses?
> It just seems a bit unreasonable, c++ and java are entirely happy to
> allow my superfluous parentheses I'm accustomed to using, it can make
> the code easier to read after all.
>
> Discuss :)
>
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>