chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH] Fix bad call in chicken-install error situ


From: Peter Bex
Subject: Re: [Chicken-hackers] [PATCH] Fix bad call in chicken-install error situation
Date: Tue, 17 Jul 2012 21:21:55 +0200
User-agent: Mutt/1.4.2.3i

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]