Re: [racket-dev] adding equal? testing to s16vectors?

2010-10-17 Thread Matthew Flatt
Probably the FFI should add equality properties on those types. I'll put it on my list of things to do if no one else gets around to it. On Oct 17, 2010, at 6:19 PM, John Clements wrote: I want to allow equal? testing on a sound structure containing two numbers and an s16vector. It's

Re: [racket-dev] doc bug; which way to fix?

2010-10-17 Thread Matthew Flatt
Yes, please. I overlooked that when adjusting the other contracts. On Oct 17, 2010, at 6:21 PM, John Clements wrote: The docs state: (equal-hash-code v) → exact-integer? v : any/c Returns a fixnum; for any two calls with equal? values, the returned number is the same. A hash code is c

[racket-dev] doc bug; which way to fix?

2010-10-17 Thread John Clements
The docs state: (equal-hash-code v) → exact-integer? v : any/c Returns a fixnum; for any two calls with equal? values, the returned number is the same. A hash code is computed even when v contains a cycle through pairs, vectors, boxes, and/or inspectable structure fields. See also prop:equal+h

[racket-dev] adding equal? testing to s16vectors?

2010-10-17 Thread John Clements
I want to allow equal? testing on a sound structure containing two numbers and an s16vector. It's pretty clear to me how to do this with prop:equal+hash, but I'm wondering whether there's some obvious way to get equal? to work in an extensional way on the various memory blocks that the ffi libr

Re: [racket-dev] Compile error in git repo on both Linux and Mac

2010-10-17 Thread Nevo
:). Thanks very much. I actually intend to use 3m after you fix it. Nevo On 17 October 2010 22:53, Matthew Flatt wrote: > At Sun, 17 Oct 2010 08:51:57 -0600, Matthew Flatt wrote: > > That's fixed, now. > > Sorry, I missed a step for 3m. It will be fixed in a few minutes. > > ___

Re: [racket-dev] Compile error in git repo on both Linux and Mac

2010-10-17 Thread Matthew Flatt
At Sun, 17 Oct 2010 08:51:57 -0600, Matthew Flatt wrote: > That's fixed, now. Sorry, I missed a step for 3m. It will be fixed in a few minutes. _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev

Re: [racket-dev] Compile error in git repo on both Linux and Mac

2010-10-17 Thread Matthew Flatt
That's fixed, now. Thanks for the report! At Sun, 17 Oct 2010 22:35:11 +0800, Nevo wrote: > Hi: >Thanks for your prompt response. Here is another error from "../configure > --disable-jit --disable-futures", again, both on Mac and Linux: > make[4]: Entering directory > `/opt/eggs/git-eggs/rack

Re: [racket-dev] Compile error in git repo on both Linux and Mac

2010-10-17 Thread Nevo
Hi: Thanks for your prompt response. Here is another error from "../configure --disable-jit --disable-futures", again, both on Mac and Linux: make[4]: Entering directory `/opt/eggs/git-eggs/racket.git/plt.git/src/build/racket' gcc -I. -I../../racket/include -g -O2 -Wall -DMZ_DONT_USE_JIT -D_L

Re: [racket-dev] Compile error in git repo on both Linux and Mac

2010-10-17 Thread Matthew Flatt
At Sun, 17 Oct 2010 22:10:11 +0800, Nevo wrote: >I've tried to build latest version of Racket for both Linux and Mac from > git (master branch), with jit disabled, and found that both threw the same > *undefined* errors: > > [...] > >My configure is done in separate build directory with "

[racket-dev] Compile error in git repo on both Linux and Mac

2010-10-17 Thread Nevo
Hi: I've tried to build latest version of Racket for both Linux and Mac from git (master branch), with jit disabled, and found that both threw the same *undefined* errors: make[4]: Entering directory `/opt/eggs/git-eggs/racket.git/plt.git/src/build/racket' gcc -o racketcgc main.o libracket.a l