[racket-dev] pr11012

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Thu Jul 15 12:10:12 EDT 2010

This bug report


is due to


returning #f when given a base-less path.

This breaks its contract, which should return path-for-some-system?
and #f is not path-for-some-system?.

(BTW, there are no contracts in racket/path. I don't have a good grasp
on where we're allowed to use racket/contract.)

path-only is hard-code to return #f when split-path returns a true
dir? or if the base it returns is not path-for-some-system?. I'm not
sure how this should be fixed, for the moment I'm going to declare the
PR not a bug as it is because the paths do not refer to any real file.


Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University

"The glory of God is Intelligence" - D&C 93

Posted on the dev mailing list.