From: Peter Bex <[email protected]> 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 _______________________________________________ Chicken-hackers mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-hackers
