[plt-scheme] Let, cond and local

From: Ricardo Massamitsu Nonomura (nonomura at moimeichego.de)
Date: Tue Jan 6 12:15:42 EST 2004

Thank you all for the tips...
Now with your help I discovered the problem... My instructor wrote the
cond that way, I don't know if by mistake or on purpose to test us...
But as he said that it would work that way,.. I trusted him...how could
I imagine that he would teach me wrong!? ;-) 
I'm grateful to have find this list... 

[]

            ________________ _..----====~~~~====--,
=====  (______________I_)'- = ,~~----===*===----~~~~
===== / /__..---=='---./
----- `---'---._________.' Ricardo Massamitsu Nonomura
E-Mail: massamitsu_nonomura at hotmail.com
            nonomura at moimeichego.de 
Homepage: www.moimeichego.de
ICQ: 7234230
PGP: Oxo70F0B5C


> -----Original Message-----
> From: Robby Findler [mailto:robby at cs.uchicago.edu] 
> Sent: Tuesday, January 06, 2004 3:32 PM
> To: Joe Marshall
> Cc: Ricardo Massamitsu Nonomura; 'Scheme Discussion'
> Subject: Re: [plt-scheme] Let, cond and local
> 
> 
> As a minor addition to Joe's note, we often use square 
> brackets around cond lines to help with this particular 
> problem. So, I might have written this:
> 
> (cond
>   [(<= 1800 j 1899) 23]
>   [(<= 1900 j 2199) 24]
>   [else (error "falsches Jahr")])
> 
> (newlines are also helpful, since DrScheme's auto indenting 
> also helps you identify mis-parenthesized text)
> 
> Robby
> 




Posted on the users mailing list.