On Mon, Jul 16, 2012 at 02:44:58PM -0400, Mario Domenech Goulart wrote:
> Shouldn't `with-default-sources' give something like
> 
>       (lambda ()
>         (with-output-to-port (current-error-port)
>           (lambda ()
>             (print "Could not determine a source of extensions. "
>                    "Please, specify a location and a transport for a 
> source.")))
>         (exit 1))
> 
> as the third argument to proc?  Or maybe it could simply abort instead
> of calling proc.

I don't know.  This code is confusing.  Maybe Felix can chime in.

> Also, maybe `list-available-extensions' should test against `(and trans
> locn)' since the procedures wrapped by `list-extensions' would error out
> if given a location as #f.

That's what I expected, but it doesn't error out.  I don't understand why.

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth

_______________________________________________
Chicken-hackers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to