Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Square brackets?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Pascal Bourguignon  
View profile  
 More options May 5 2006, 10:54 pm
Newsgroups: comp.lang.scheme
From: Pascal Bourguignon <p...@informatimago.com>
Date: Sat, 06 May 2006 04:54:56 +0200
Local: Fri, May 5 2006 10:54 pm
Subject: Re: Square brackets?

"netytan" <nety...@gmail.com> writes:
> Possibly a silly question but I've seen square brackets being used in
> several scheme sources, but they're not in the R5RS standard - I
> don't think. They're not supported by all Scheme implementations
> anyway.

> Are there any perhaps in some other standard or are they already
> standard but optional?

Some implementations accept them with the same meaning as parentheses.
They're usable interchangeably, but must still match:
([]) is valid, but ([)] is not.

Some people have this silly idea that counting and matching
parentheses is important and like to spend hours on it...

I prefer to use only parentheses and let emacs do the indentation and
parenthesis checking for me.

--
__Pascal Bourguignon__                     http://www.informatimago.com/

What is this talk of 'release'? Klingons do not make software 'releases'.
Our software 'escapes' leaving a bloody trail of designers and quality
assurance people in it's wake.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.