[racket-dev] Oversight in type for path-string?

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Wed Mar 21 18:20:10 EDT 2012

On Wed, Mar 21, 2012 at 5:36 PM, John Clements
<clements at brinckerhoff.org> wrote:
> It looks like 'path-string?' is not labeled as a discriminator type.
>
>> path-string?
> - : (Any -> Boolean)
> #<procedure:path-string?>
>>
>
> Is this just an oversight?

Yes, that's just an oversight, although it's slightly more complicated
than you'd think (because `(path-string? (string #\null))' is #f).
-- 
sam th
samth at ccs.neu.edu

Posted on the dev mailing list.