[racket] Racket v5.93

From: Manfred Lotz (manfred.lotz at arcor.de)
Date: Sat Feb 1 09:28:32 EST 2014

Hi Robby,
Sorry, forgot to post to the list in my previous mail.

On Sat, 1 Feb 2014 06:55:55 -0600
Robby Findler <robby at eecs.northwestern.edu>

> Hi Manfred: our plans for 6.0 would not be so ambitious as to include
> functions like that. But for releases after that, it is certainly
> possible.
> It will likely be faster if someone were to contribute an
> implementation, naturally.

I tried to implement it. When adding socket-exists? to file.c
I got an error 

Primitive count 1117 doesn't match expected count 1116

which I understood but I couldn't figure out how to solve it.

I tried to change EXPECTED_PRIM_COUNT to 1117 in
src/racket/src/schminc.h but running make again gave me:

make[4]: Entering directory
env XFORM_PRECOMP=yes ../racketcgc  -cqu ../../../racket/gc2/xform.rkt
--setup . --cpp "gcc -E -I./.. -I../../../racket/gc2/../include
-pthread     "  --keep-lines -o
xsrc/precomp.h ../../../racket/gc2/precomp.c 
current-load-extension: contract violation 
    expected: (any/c any/c . -> . any) 
    given: #"([^:]*):(.*)"
      #%utils: [running body] 
      #%boot: [traversing imports]

Now I'm stuck. Perhaps anybody could enlighten me.

Best regards,

Posted on the users mailing list.