[plt-scheme] Bug in url.ss? Parameter wrapped with contract

From: Steven Huwig (steven_h at acm.org)
Date: Tue Aug 7 20:29:38 EDT 2007

I submitted a bug on this, you might want to close it. Thanks!

Number: 8247
Category: misc
Synopsis: url.ss : Contract for current-proxy-servers obscures type ?

-- Steve Huwig

On Aug 1, 2007, at 11:29 AM, Noel Welsh 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



Posted on the users mailing list.