Line 509 reads

@[current-no-proxy-servers]

But I expect you mean

@racket[current-no-proxy-servers]

Because otherwise, you're trying to call the parameter reading
function from within the docs.

Jay

On Wed, Oct 14, 2015 at 1:08 PM, Tim Brown <tim.br...@cityc.co.uk> wrote:
> I’m having a truly difficult time documenting this.
>
> I have cloned out my (not quite ready to release any more)
> tim-brown/racket repo. Checked out the proxy-servers-from-env branch;
> which has the changes in url.rkt:
>
> https://github.com/tim-brown/racket/blob/proxy-servers-from-env/racket/collects/net/url.rkt
>
> I have "make in-place"'ed this; and also cloned the net package (with
> the tests and docs) with:
>
> raco pkg update --clone extra-pkgs/net
>
> I have added a tim-brown remote to this git repo, and checked out the
> proxies-from-environment branch from my repo:
>
> https://github.com/tim-brown/net/blob/proxies-from-environment/net-doc/net/scribblings/url.scrbl
>
> url.scrbl refers to current-no-proxy-servers (which is defined in
> url.rkt)
>
> I run "raco setup" to rebuild my docs, and I get:
>
> raco setup: --- summary of errors ---
> raco setup: error: during making for <pkgs>/net-doc/net/scribblings
> raco setup:   net-doc/net/scribblings/url.scrbl:509:31:
> current-no-proxy-servers: unbound identifier in module
> raco setup:     in: current-no-proxy-servers
> raco setup:     compiling: <pkgs>/net-doc/net/scribblings/url.scrbl
>
> What am I missing here?
>
> Thanks, in advance, for your help.
>
> Tim
>
> On 14/10/15 15:11, Jay McCarthy wrote:
>> I agree. The Web server does this with parsing the query string and POST 
>> data.
>>
>> On Wed, Oct 14, 2015 at 9:41 AM, Sam Tobin-Hochstadt
>> <sa...@cs.indiana.edu> wrote:
>>> I recommend using a promise to avoid referencing/parsing the
>>> environment variables until the point where they're needed. That way
>>> people who require `net/url` just for URL parsing etc don't pay that
>>> cost.
>>>
>>> Sam
>
>
> --
> Tim Brown CEng MBCS <tim.br...@cityc.co.uk>
> ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
>                 City Computing Limited · www.cityc.co.uk
>       City House · Sutton Park Rd · Sutton · Surrey · SM1 2AE · GB
>                 T:+44 20 8770 2110 · F:+44 20 8770 2130
> ────────────────────────────────────────────────────────────────────────
> City Computing Limited registered in London No:1767817.
> Registered Office: City House, Sutton Park Road, Sutton, Surrey, SM1 2AE
> VAT No: GB 918 4680 96



-- 
Jay McCarthy
Associate Professor
PLT @ CS @ UMass Lowell
http://jeapostrophe.github.io

           "Wherefore, be not weary in well-doing,
      for ye are laying the foundation of a great work.
And out of small things proceedeth that which is great."
                          - D&C 64:33

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to