Re: [racket-dev] Running into phase-error issues

2011-08-14 Thread Carl Eastlund
I've run into the same issue. The way I sometimes to it is to eval code which requires the original module for syntax, extracts the value during macro expansion, and produces an expression that quotes it (or an expression that reconstructs it, if not an s-expression). Carl Eastlund On Sun, Aug

Re: [racket-dev] Running into phase-error issues

2011-08-14 Thread Danny Yoo
>> I'm running into some problem when using dynamic-require-for-syntax: > > I imagine the problem is that `dynamic-require-for-syntax' is broken, > but I hope to get rid of that function because it implements bad > phase-crossing behavior. > > So, although it doesn't directly address the problem, c

Re: [racket-dev] [plt] Push #23249: master branch updated

2011-08-14 Thread Robby Findler
Unless it is about the _implementation_ of the module, I think that belongs in the first paragraph of the docs instead. Robby On Sun, Aug 14, 2011 at 9:48 PM, Matthias Felleisen wrote: > > I am following the guidelines now :-) > > I actually do think a one-line purpose statement per module is a

Re: [racket-dev] [plt] Push #23249: master branch updated

2011-08-14 Thread Matthias Felleisen
I am following the guidelines now :-) I actually do think a one-line purpose statement per module is a *good* idea. On Aug 14, 2011, at 10:46 PM, Robby Findler wrote: > On Sun, Aug 14, 2011 at 9:29 PM, wrote: >> collects/lang/htdp-langs-save-file-prefix.rkt >> ~

Re: [racket-dev] [plt] Push #23249: master branch updated

2011-08-14 Thread Robby Findler
On Sun, Aug 14, 2011 at 9:29 PM, wrote: > collects/lang/htdp-langs-save-file-prefix.rkt > ~ > --- OLD/collects/lang/htdp-langs-save-file-prefix.rkt > +++ NEW/collects/lang/htdp-langs-save-file-prefix.rkt > @@ -1,11 +1,16 @@ >  #lang racket/base > -(requ

Re: [racket-dev] Running into phase-error issues

2011-08-14 Thread Matthew Flatt
At Sun, 14 Aug 2011 19:46:46 -0400, Danny Yoo wrote: > I'm running into some problem when using dynamic-require-for-syntax: I imagine the problem is that `dynamic-require-for-syntax' is broken, but I hope to get rid of that function because it implements bad phase-crossing behavior. So, although

[racket-dev] Running into phase-error issues

2011-08-14 Thread Danny Yoo
I'm running into some problem when using dynamic-require-for-syntax: if the module I'm requiring itself requires another module, I inevitably hit the following error: ;;; dyo

Re: [racket-dev] Download link

2011-08-14 Thread Noel Welsh
On Sun, Aug 14, 2011 at 2:39 AM, Eli Barzilay wrote: > One option is a > geoip database that could be used in JS (but all I found was expensive > stuff), and another option is to find some known distribution network > that does this kind of thing by itself (but again, all I found were > things tha

Re: [racket-dev] Plot testing and feedback

2011-08-14 Thread Matthew Flatt
At Fri, 12 Aug 2011 19:47:43 -0700, Neil Toronto wrote: > Thank you! I blame, in order: > > 1. Racket's awesome cross-platform drawing library. Holy cow! Making > nice plots would be next to impossible without it. Also, the fact that I > can render to ps/pdf/svg just by passing a different dc is