[racket] (no subject)

2012-01-31 Thread Ivanyi Peter
Is it only me? But I am getting almost all e-mails from the DrRacket mailing from: users-boun...@racket-lang.org and the full e-mail headers. Any solution for this? Best regards, Peter Ivanyi Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Translation of

2012-01-31 Thread Jay McCarthy
Hi Tim, Here is a version that works, if I understand the test: (define %conflict-b (%let (X Y Color) (%rel (Coloring) [(Coloring) (%adjacent X Y) (%color X Color Coloring) (%color Y Color Coloring)]))) (%which () (%conflict-b

Re: [racket] I think I found a bug in the JITC

2012-01-31 Thread Matthew Flatt
At Tue, 31 Jan 2012 16:58:58 +0100, Marijn wrote: > I do wonder why I couldn't reproduce on my own x86_64 system. Should I > have tried racket instead of DrRacket Yes, that could make the difference. Assuming that you have debugging enabled, DrRacket's debugging instrumentation could disable the

Re: [racket] I think I found a bug in the JITC

2012-01-31 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 31-01-12 05:57, Erik Dominikus wrote: > Only 3 hours from report to fix. That's quite impressive. :-D > > @Marijn: I forgot... my platform is Ubuntu 10.04 Linux 2.6.32-38 > x86_64. Still learning to write bug reports I guess. :-| You're doing fine

[racket] Translation of

2012-01-31 Thread Tim McKeaveney
Hello, I've been trying to translate the prolog tutorial - http://www.csupomona.edu/~jrfisher/www/prolog_tutorial/2_1.html - into racklog. I'm stumped at the conflict rule. My code attempts are at http://paste.lisp.org/display/127408 Any hints? Tim

Re: [racket] strange behavior

2012-01-31 Thread Matthias Felleisen
Let me suggest this: #lang racket (define (main-of-your-program) (displayln (my-gensym)) (displayln (my-gensym))) (define my-gensym 0) ;; --- test: (require (only-in mzscheme fluid-let)) (define (generate-a-predictable-symbol) 'a0) (fluid-let ((my-gensym generate-a-predictable-symbol))

Re: [racket] strange behavior

2012-01-31 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 31-01-12 13:38, zermelo wrote: > I have the following problem. I want to replace procedure gensym > with a mock to test a piece of software with predictable gensym > values. When this is done, I restore the old gensym. Thus I wrote > this code in ra

Re: [racket] table layout for panel%

2012-01-31 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 31-01-12 01:19, Doug Williams wrote: > I have a table-panel% class on PLaneT - table-panel.plt. Thanks Doug, that works wonderfully well for me, Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozi

[racket] strange behavior

2012-01-31 Thread zermelo
I have the following problem. I want to replace procedure gensym with a mock to test a piece of software with predictable gensym values. When this is done, I restore the old gensym. Thus I wrote this code in racket: (define old-gensym gensym) (define gensym ) ...test... (define gensym old-gensy