Re: [racket-users] Dumb question about Windows paths

2019-01-08 Thread Philippe Mechaï
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

[racket-users] Dumb question about Windows paths

2019-01-08 Thread David Storrs
(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