[plt-scheme] If With No Else and Other Changes

From: Robby Findler (robby at cs.uchicago.edu)
Date: Wed Jan 30 16:38:08 EST 2008

On Jan 30, 2008 2:34 PM, Doug Williams <m.douglas.williams at gmail.com> wrote:
> I remember some discussion that in V4 (if ...) with no else part was going
> to be illegal.  I had forgotten about it until I tried running some of my
> code in MzScheme and it failed because of 'if: bad syntax (must
> have an "else" expression)'.  However, it runs in DrScheme  I
> guess we need to track down all such constructs if we want people to be able
> to use our code in MzScheme.
> What other constructs might bite us?
> Why do I get different behavior in DrScheme and MzScheme on this?
> Why does it load and compile okay with PLanet?

There are multiple "if"s around -- it is only the "scheme" language
that has the new if.

So, I guess the question I have is: what language were you using? And:
was your program in a module?


Posted on the users mailing list.