l...@gnu.org (Ludovic Courtès) writes: > What about just: > > (make-parameter (getenv "http_proxy"))
The empty-string case needs to be handled specially, no? Perhaps: (define current-http-proxy (make-parameter (getenv "http_proxy") (lambda (proxy) (and (not (string-null? proxy)) proxy))))