<div dir="ltr"><div><div><div>I am having dificulty in using Racket on Windows, although it works quite well on Linux. Can members of this list tell me what I am doing wrong?<br><br><br>C:\eo>\Racket\Racket.exe -il xrepl<br>
Welcome to Racket v6.0.<br>-> ,sh ed -p": "<br>: a<br>#lang racket<br><br>(define (sqr n)<br>  (* n n))<br><br>.<br>: w xek.rkt<br>42<br>: q<br>-> (enter! "xek.rkt")<br>; error during prompt calculation: path->string: contract violation<br>
  expected: path?<br>  given: "c:\\eo\\xek.rkt"<br>[internal-error]><br><br></div>Of course, I installed ed. In any case, ed is working (ed always work, according to Larry Niven), and it did create the "c:\\eo\\xek.rkt" file.  Things don't work on Emacs either:<br>
<br></div>M-x shell<br><br>Microsoft Windows [versão 6.2.9200]<br>(c) 2012 Microsoft Corporation. Todos os direitos reservados.<br><br>c:\Windows\System32>cd \eo<br>cd \eo<br><br>c:\eo>/Racket/Racket -il xrepl<br>/Racket/Racket -il xrepl<br>
Welcome to Racket v6.0.<br>-> (enter! "/eo/xek.rkt")<br>; enter!: contract violation<br>;   expected: module-path?<br>;   given: "/eo/xek.rkt"<br>; [,bt for context]<br>-> (enter! "xek.rkt")<br>
; error during prompt calculation: build-path: absolute path cannot be added to a base path<br>  absolute path: c:\eo\xek.rkt<br>  base path: ~<br>[internal-error]> <br><br></div>I tried a few other things to the same result.<br>
</div>