<HTML><BODY>Really, it works.<br><br>Only prompt text is proken<br><br>; error during prompt calculation: path->string: contract violation<br> expected: path?<br> given: "i:\\docu....rar.rkt"<br>[internal-error]><br>(+ 2 2)<br>4<br>[internal-error]><br><br>Tue, 18 Mar 2014 10:01:22 -0300 от Eduardo Costa <edu500ac@gmail.com>:<br>
<blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;">
<div id="">
<div class="js-helper js-readmsg-msg">
<style type="text/css"></style>
<div id="viewmessagebody" class="mr_read__body">
<base target="_self" href="https://e.mail.ru/">
<div id="style_13951479930000000469_BODY"><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>
</div>
<div>____________________<br>
Racket Users list:<br>
<a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
<br>
</div>
<base target="_self" href="https://e.mail.ru/">
</div>
</div>
</div>
</blockquote>
<br>
<br>-- <br>Roman Klochkov<br></BODY></HTML>