[racket-dev] conditional code [was Re: Best way to handle duplicate identifiers]
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