Re: [racket] Typed Racket: verbose error message?

2011-02-18 Thread Carl Eastlund
I think one thing that could help here is just changing the first line. It explicitly says "could not be applied to arguments", but that's just false here. The function memq can obviously be applied to those arguments. It just can't give the expected result type. How about "...can not be applie

[racket] Typed Racket: verbose error message?

2011-02-18 Thread Danny Yoo
I was working on the following snippet of code in Typed Racket: ;;; (define-type InstructionSequence (U Symbol instruction-sequence)) (define-struct: instruction-sequence ([needs : (Listof Symbol)]

Re: [racket] Graphical Toolkit change question

2011-02-18 Thread Matthew Flatt
At Thu, 17 Feb 2011 20:08:10 -0700, Matthew Flatt wrote: > We've never tried to pin down the behavior of overlapping children in a > panel, and it varies among platforms. Actually, we tried long ago to > make the order consistent, and there were too many problems on some > platforms. > > I think t

Re: [racket] Graphical Toolkit change question

2011-02-18 Thread Christophe Vandenberghe
Thanks for the reply, but going through that process would be to troublesome and it needs to be platform independent. In the mean time I just changed the order in which the children are added to suit the current implementation. Not a very clean solution, but will do for now as I am still hoping