Looking over the
documentation<http://docs.racket-lang.org/reference/Manipulating_Paths.html#(def._((lib._racket/private/misc..rkt)._path-replace-suffix))>
I'm
not clear why this would be so:

> (path-replace-suffix (string->path ".foobar") "")

#<path:?>


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?
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to