[plt-scheme] Bug in url.ss? Parameter wrapped with contract
That should probably use the (relatively) new parameter/c contract,
instead of the function-based contract.
Robby
On 8/1/07, Noel Welsh <noelwelsh at gmail.com> wrote:
> Hi all,
>
> The current-proxy-servers parameter defined in url-unit.ss is wrapped
> with a contract in url.ss. This means that parameterize complains if
> you pass it current-proxy-servers:
>
> > (parameterize ([current-proxy-servers '(foo)]) (+ 1 2))
> parameterize: expects type <parameter> as 2nd argument, given:
> #<procedure:current-proxy-servers>; other arguments were:
> #<parameterization> (foo)
>
> [Yeah I know '(foo) doesn't meet the contract]
>
> Is this intentional? If not, I guess I'll fix it.
>
> N.
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>