On Fri, May 31, 2013 at 12:47 PM, John Clements <[email protected]> wrote: > > On May 31, 2013, at 9:00 AM, Corey Richardson wrote: > >> Doesn't racket also do this with its `#lang <foo>` construct? > > Yes. >
Well, they sort of do this. They don't use version numbers, but they do entire languages. So, for example, you can write "#lang racket" code that works on 5.3.4 (the current version), but is broken on 5.3.3, and the #lang line does not change. In this sense, it fails to do what Armstrong is describing. But you're right that old, completely replaced languages, are still supported on the platform via #lang, and there isn't really any reason why the system couldn't be extended to have different #lang lines per version. ie, #lang racket/5.3, etc... (and I wouldn't be surprised if someone has already experimented with that). _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
