Hi,
If I understand the racket code correctly (*), you cannot generate windows
paths using strings on unix.
But you can do it using bytes->path-element which allows you to specify the
path-convention (windows here):
(build-path/convention-type 'windows (bytes->path-element (string->bytes/utf-8
(build-path/convention-type type
base
sub ...) → path-for-some-system?
type : (or/c 'unix 'windows)
base : (or/c path-string? path-for-some-system? 'up 'same)
sub :
(or/c (and/c (or/c path-string? path-for-some-system?)
(not/c complete-path?))
(or/c 'up 'same))
> (bu
2 matches
Mail list logo