[plt-scheme] backward compatibility?

From: Danny Yoo (dyoo at cs.wpi.edu)
Date: Tue Jun 17 07:07:39 EDT 2008

On Tue, Jun 17, 2008 at 5:21 AM, Dmitry Lizorkin <lizorkin at ispras.ru> wrote:
> Hello!
> I noticed that
> (version)
> ==> "4.0"
> in PLT 4.0, althouth
> (version)
> ==> "360"
> in PLT 360, for instance, i.e. the version number has recently been divided
> by 100.
> What is then the reliable backward-compatible (and forward-compatible) way
> of writing something like
> "if version < 299 then ... else ...",
> resulting in the else-branch activated for PLT 4.0 and higher?


Are you using version-case from PLaneT?  It should handle this detail.

http://planet.plt-scheme.org/display.ss?package=version-case.plt&owner=dyoo


Posted on the users mailing list.