[Top][All Lists]
[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: |
Felix |
Subject: |
Re: [Chicken-hackers] [PATCH] Fix bad call in chicken-install error situation |
Date: |
Wed, 18 Jul 2012 21:46:38 +0200 (CEST) |
From: Peter Bex <address@hidden>
Subject: Re: [Chicken-hackers] [PATCH] Fix bad call in chicken-install error
situation
Date: Tue, 17 Jul 2012 21:21:55 +0200
> 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.
Indeed, it is truly horrible. AFAIK "trans" will never be #f, so "next"
should not be called in "list-available-extensions". Mario's suggestion
looks correct to me.
cheers,
felix