This is the mail archive of the
guile@cygnus.com
mailing list for the Guile project.
Re: Reader option to permit brackets as parentheses
- To: Maciej Stachowiak <mstachow@alum.mit.edu>
- Subject: Re: Reader option to permit brackets as parentheses
- From: Greg Badros <gjb@cs.washington.edu>
- Date: 10 Jul 1999 08:45:48 -0700
- Cc: guile@cygnus.com
- References: <qrrr9mu4tw7.fsf@elwha.cs.washington.edu> <3779AC8E.A5A1BA79@ozemail.com.au> <qrraeth3c92.fsf@elwha.cs.washington.edu> <377AC053.F3E9A1BB@ozemail.com.au> <m3zp1586bj.fsf@207-172-216-87.s87.tnt1.sbo.ma.dialup.rcn.com>
Maciej Stachowiak <mstachow@alum.mit.edu> writes:
> For what it's worth, I have seen academic papers by RnRS authors use
> [] interchangably with (). That's a fairly strong endorsement.
>
> I hate to admit it but I actually found it somewhat more readable (the
> usual convention is to use square brackets consisently with certain
> special forms, e.g. cond and the let family).
When guile does have [] support, it'd be nice to include a little script
to switch () to [] (and back) in the standard places (e.g., let bindings
and cond guard expressions). Any takers?
Greg