Re: [racket-users] [racket] Racket 6.3(.0.7) breaks old code

2015-12-25 Thread WarGrey Gyoudmon Ju
An additional feedback. There was a ghost bug in my code, and it only appeared after compiling. module-path-index-resolve: "self" index has no resolution module path index: # context...: /opt/PLTracket/collects/syntax/private/id-table.rkt:77:2: do-ref

[racket-users] More compile/eval Confusion

2015-12-25 Thread Leif Andersen
Hey, I have found another bit of confusion between eval and compile. Again, I suspect it's related to using a top level begin, but I'm not sure why. I have the following program: #lang racket (define prog #'(begin (module foo racket (#%plain-module-begin

[racket-users] Re: More compile/eval Confusion

2015-12-25 Thread Leif Andersen
I should probably also mention that if I comment out the first eval leaving only `(compile (eval prog))`, I get: x: undefined; cannot reference undefined identifier Which leads me to think that the other error is from trying to require the same module twice in the same namespace. But I'm

Re: [racket-users] Re: More compile/eval Confusion

2015-12-25 Thread Matthew Flatt
I agree with Robby's explanation on just the `compile` line. When you uncomment both lines, it's the same error as as > (module m racket/base (define x 5)) > (require 'm) > (module m racket/base (define x 5)) define-values: assignment disallowed; cannot re-define a constant constant: x

Re: [racket-users] Re: More compile/eval Confusion

2015-12-25 Thread Leif Andersen
> Well, considering my past performance you definitely don't want to to trust me on these questions, but I'll give it a try anyway. :) Ha, well I appreciate the attempt anyway. > My guess is that when you comment in only this line from the last two: > (eval (compile prog)) > then the "x" is

Re: [racket-users] Re: More compile/eval Confusion

2015-12-25 Thread Robby Findler
Well, considering my past performance you definitely don't want to to trust me on these questions, but I'll give it a try anyway. :) My guess is that when you comment in only this line from the last two: (eval (compile prog)) then the "x" is compiled into a reference to a top-level

[racket-users] Re: Racket documentation - emphasis in margin notes

2015-12-25 Thread gfb
On Friday, 25 December 2015 15:49:21 UTC-5, Daniel Prager wrote: > I've noticed a usability issue with margin notes in the docs: the bolding is > misleading. > > > Example: > > > Regular Expressions in The Racket Guide introduces regular expressions. > > > Problem: The eye is more strongly

[racket-users] making games in racket

2015-12-25 Thread Taro Annual
Hi, I make "pong" game in big-bang(2hdp/universe). But, moving a racket(not language!) by keyboard("up", "down", ...), the racket freezes in 0.3~0.5s sometimes. I think it is due to the beginner's platform. What modules/syntaxes are used in action games in Racket language. Thanks, Taro. --

[racket-users] Racket documentation - emphasis in margin notes

2015-12-25 Thread Daniel Prager
I've noticed a usability issue with margin notes in the docs: the bolding is misleading. *Example*: [image: +]Regular Expressions in The Racket Guide introduces regular expressions. *Problem*: The eye