[plt-scheme] If expressions in Embedded PLT Scheme

From: Eli Barzilay (eli at barzilay.org)
Date: Thu Oct 9 20:26:13 EDT 2008

On Oct  9, Samuel Rebelsky wrote:
> So, we're back to a variant of the question: How does one tell an
> embedded PLT Scheme interpreter (as described in
> http://docs.plt-scheme.org/inside/) to use a different variant of
> Scheme (e.g., the legacy MzScheme) or to permit "one-armed 'if""?
> It strikes me that some sort of "backwards compatibility" mode
> should be available.

If the code is in modules, you should just use (or keep using)
`mzscheme' as the language for the module; if it's toplevel code, then
you should require the `mzscheme' module into the toplevel namespace.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!


Posted on the users mailing list.