[racket-dev] conditional code [was Re: Best way to handle duplicate identifiers]

From: D Herring (dherring at tentpost.com)
Date: Wed Jul 25 22:00:32 EDT 2012

On 07/25/2012 04:50 PM, Robby Findler wrote:
> On Wednesday, July 25, 2012, Doug Williams wrote:
>
>     Racket now includes nan? and infinite? in the core language, which
>     were already defined and provided by the science collection in PLaneT.
>
> I think you're best off to release a new version of the science
> collection and make it require 5.3 as the minimum version (one that
> differs from the currently released one only by sorting out this
> conflict).

Newbie question here:  Isn't there a way that Doug can write his code 
such that it provides nan? and infinite?, but only when running on an 
older version of Racket?  Some sort of reader conditional?

Thanks,
Daniel


Posted on the dev mailing list.