<div dir="ltr"><div>Looking over <a href="http://docs.racket-lang.org/reference/Manipulating_Paths.html#(def._((lib._racket/private/misc..rkt)._path-replace-suffix))">the documentation</a> I'm not clear why this would be so:</div>
<div><br></div><div><font face="courier new, monospace">> (path-replace-suffix (string->path ".foobar") "")<br></font></div><div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">#<path:?></font></div>
<div><br></div><div><br></div><div>If the behavior is undefined, seems like path-replace-suffix ought to raise an error rather than return a path that is a single question mark. Or am I missing something?</div></div></div>