Re: [racket] Confused about submodule + state

2014-04-12 Thread Asumu Takikawa
On 2014-04-12 15:43:19 -0600, Matthew Flatt wrote: > Possibly, you're expecting > > (require (submod "test.rkt" sub)) > > to instantiate the submodule at phase 1, since the module was declared > at phase level 1 relative to its enclosing module. But the declaration > phase level doesn't matter for

Re: [racket] Confused about submodule + state

2014-04-12 Thread Matthew Flatt
Yes, that's the intended behavior. Possibly, you're expecting (require (submod "test.rkt" sub)) to instantiate the submodule at phase 1, since the module was declared at phase level 1 relative to its enclosing module. But the declaration phase level doesn't matter for `require`; it instantiates

[racket] Confused about submodule + state

2014-04-12 Thread Asumu Takikawa
Hi all, I'm trying to figure out how submodules and compile-time state interact, in particular when the submodule is in a `begin-for-syntax`. Example: https://gist.github.com/takikawa/10555205 (also inlined below) As the interaction shows, the submodule can read the compile-time table but when i

[racket] CFP: Workshop on Generic Programming (WGP) 2014

2014-04-12 Thread José Pedro Magalhães
Apologies for multiple postings. == CALL FOR PAPERS WGP 2014 10th ACM SIGPLAN Workshop on Generic Programming Gothenburg, Sweden

Re: [racket] Controlling the size of plot symbols

2014-04-12 Thread Jens Axel Søgaard
> It might be time to take another look at Jens Axel's ideas for adaptive > sampling, now that Plot can do it in 3D without b0rking it. In a nut shell: A plotting algorithm should sample the function the same way a numeric integration routine does. The number of samples in a given interval should