[racket-users] running racket command line, load mode works but module mode doesnt

2015-10-10 Thread Linh Chi Nguyen
Hi everyone, The situation is that I have a racket file with the same code but 2 version, one in module and one in load mode. ``` hi.rkt is in load mode ``` ``` bye.rkt is the same code but in module mode #lang racket (provide run-some-commands) ``` Both work just fine if I use a REPL. The

Re: [racket-users] Bug with errortrace and begin-for-syntax?

2015-10-10 Thread Spencer Florence
Yup, that looks like a bug. I've created a PR to fix it: https://github.com/racket/errortrace/pull/4 On Sat, Oct 10, 2015 at 8:51 AM Matthias Felleisen wrote: > > On Oct 10, 2015, at 12:06 AM, Alex Knauth wrote: > > #lang racket/base > (require

Re: [racket-users] help on coding finite state automata

2015-10-10 Thread Matthias Felleisen
I forked, Racket-ized, and gained some speed (~2x). > On Sep 6, 2015, at 5:21 AM, Nguyen Linh Chi wrote: > > Dear All, > thanks for all your help, im writing the code to generate a population of > fsm, playing a repeated game and the population evolves over time.

[racket-users] Managing links between two separately generated scribble docs

2015-10-10 Thread Tiina Partanen
Hi, I'm currently working on translating Racket BSL, 2htdp/image, 2htdp/universe libraries into Finnish. I've been able to redirect the links inside this "manual" so that they target to the Finnish manual pages. For example: Link to "require" works fine on this page:

Re: [racket-users] Managing links between two separately generated scribble docs

2015-10-10 Thread Tiina Partanen
I figured this out! I was missing the info.out flag in my manual pages creation: --info-out ../build/manuaali.sxref and the equivalent info-in flag in the exercises pages: ++info-in ../build/manuaali.sxref There is still one link which get generated wrong, the "require" generated by

Re: [racket-users] Case for net/url.rkt to read HTTP proxy servers from environment

2015-10-10 Thread Jay McCarthy
If there are standard variables, I think it would be great to take them. On Fri, Oct 9, 2015 at 9:39 AM, Tim Brown wrote: > Is there any merit in taking the current environment variable values > (on UNIX at least) of “proxy”, “http_proxy” and “https_proxy” and > loading

Re: [racket-users] Case for net/url.rkt to read HTTP proxy servers from environment

2015-10-10 Thread Tim Brown
Jay, There are a number of variable schemes that things like web browsers, curl and wget use. Mostly differing in case: e.g. http_proxy vs HTTP_PROXY. I'll take a moment soon to review who uses what. The format seems to be pretty uniform, though. Tim On 10/10/2015 12:09, Jay McCarthy wrote:

Re: [racket-users] Bug with errortrace and begin-for-syntax?

2015-10-10 Thread Matthias Felleisen
> On Oct 10, 2015, at 12:06 AM, Alex Knauth wrote: > > #lang racket/base > (require (for-meta 0 racket/base) > (for-meta 1 racket/base) > (for-meta 2 racket/base) > (for-meta 3 racket/base) > (for-meta 4 racket/base)) > (begin-for-syntax >