Re: [racket] label-string

2012-12-21 Thread heraklea
A, ok thank you very much. By the way, when I make a tab-panel with multiple tabs and add a list-box to the tab-panel it appears on all tab pages. So how can I specify the tab/tabindex as parent to the list-box? And is it possible to init the list-box with more choices as one. In the example

Re: [racket] label-string

2012-12-21 Thread Laurent
On Fri, Dec 21, 2012 at 10:59 AM, wrote: > A, > ok thank you very much. By the way, when I make a tab-panel with multiple > tabs and add a list-box to the tab-panel it appears on all tab pages. So > how can I specify the tab/tabindex as parent to the list-box? > You need to change the childr

Re: [racket] the most functional man in the world

2012-12-21 Thread Martin Neal
>What about? > >"People hang on his every line; but usually he needs just one." >"He can write Lisp programs, in C." >"He once had a seg fault, just to see how it feels." > >Stuff like that seems pretty easy to come up with. It's fun - you should try it. "He could disarm you with his macro expan

Re: [racket] [plt-edu] the most functional man in the world

2012-12-21 Thread Matthias Felleisen
Thank you all for your feedback. FWIW three of the eight student authors are girls, and all of them participated in every step of the creation of the video, from the very inception, the story writing, and the production process. None of them had any objections; to the contrary, they found it

Re: [racket] DrRacket Crashes?

2012-12-21 Thread Adam Golding
I'm still getting the crash using the first method on: DrRacket version 5.3.1.10--2012-12-20(8d5a069/a) [3m] On 19 December 2012 13:12, Matthew Flatt wrote: > I think the problem was a memory-management issue in the JPEG binding, > since the crash I provoked was in libjpeg. > > After fixing tha

[racket] Dynamically Bind Functions

2012-12-21 Thread Cristian Esquivias
I'm trying to replace a function with another using parameterize. For example, when I try: (define (add2 n) (add1 (add1 n))) (parameterize ([add1 (λ [n] (+ n 2))]) (add2 2)) I get an error: parameterize: contract violation expected: parameter? received: # How do I re-bind functions i

Re: [racket] Dynamically Bind Functions

2012-12-21 Thread David Van Horn
On 12/21/12 9:41 PM, Cristian Esquivias wrote: I'm trying to replace a function with another using parameterize. For example, when I try: (define (add2 n) (add1 (add1 n))) (parameterize ([add1 (λ [n] (+ n 2))]) (add2 2)) I get an error: parameterize: contract violation expected: p

Re: [racket] How to disable a couple of things in drracket

2012-12-21 Thread Robby Findler
After thinking about this for a while, not particularly liking any of the other suggestions and failing to come up with better ones myself, I've just pushed something so the arrows can be disabled (without disabling all of the background expansion features) as requested by Tobias. At least that way

Re: [racket] How to disable a couple of things in drracket

2012-12-21 Thread Grant Rettke
Cool, thanks Robby. On Fri, Dec 21, 2012 at 10:09 PM, Robby Findler wrote: > After thinking about this for a while, not particularly liking any of the > other suggestions and failing to come up with better ones myself, I've just > pushed something so the arrows can be disabled (without disabling