Re: [Chicken-users] Maintaining my eggs in a separate repository

2009-03-09 Thread Matthew Welland
Perhaps a mechanism similar to apt/sources.list for chicken would be nice? I.e. the ability for chicken-setup to search for an egg in several repositories specified in a file (such as the sources.list debian file). I have libraries I need to distribute at work across several sites and this wou

Re: [Chicken-users] Threads and dynamic-wind still problematic

2009-03-09 Thread John Cowan
Tobia Conforto scripsit: > I wonder how other compilers do it. For example, I find Java's (and > Python's) try/finally syntax quite useful. I've always thought > dynamic-wind was Scheme's equivalent construct, but it would appear I > was mistaken. Here's the relevant writeup from Taylor C

Re: [Chicken-users] Threads and dynamic-wind still problematic

2009-03-09 Thread Tobia Conforto
Peter Bex wrote: Yup, thanks for asking him. It still sucks, though ;) It does. This is one way to solve it: #;1> (use srfi-18) ; loading library srfi-18 ... #;2> (define exception-protect ---> (let ((original-exception-handler (current-exception-handler))) ---> (lambda (thunk) --->

[Chicken-users] Maintaining my eggs in a separate repository

2009-03-09 Thread Alejandro Forero Cuervo
For what it's worth, in the course of the next few days I will be copying the code of the eggs I have authored and their wiki pages to a separate repository, which I will start treating as the canonical development location. This includes the following eggs: content-type file-mirror format-modula

Re: [Chicken-users] Threads and dynamic-wind still problematic

2009-03-09 Thread Tobia Conforto
felix winkelmann wrote: Ok, here is what Marc Feeley, the author of SRFI-18 has to say about this: when an uncaught exception occurs in a thread the thread is in bad shape and things have gone sufficiently wrong that there is no universally acceptable way to continue execution. Executing

Re: [Chicken-users] Threads and dynamic-wind still problematic

2009-03-09 Thread Tobia Conforto
Peter Bex wrote: Yup, thanks for asking him. It still sucks, though ;) This is yet another solution, in case you can't (or don't want to) steal the exception handler from the primordial thread. This one may be safer. But then again, I'm probably missing Marc Feeley's point completely,

Re: [Chicken-users] Threads and dynamic-wind still problematic

2009-03-09 Thread felix winkelmann
On Sun, Mar 8, 2009 at 12:34 PM, Peter Bex wrote: > > Yup, thanks for asking him.  It still sucks, though ;) > We are bound to the SRFI-18 spec, but you are free to invent your own API. cheers, felix ___ Chicken-users mailing list Chicken-users@nong

Re: [Chicken-users] Build Failure (maybe infinite recursion) on x86_64 Linux

2009-03-09 Thread Taylor Venable
On Sat, Mar 07, 2009 at 11:46:03PM +0100, felix winkelmann wrote: > On Fri, Mar 6, 2009 at 3:11 PM, Taylor Venable wrote: > > > > I have no direct evidence that it was an infinite recursion. It was > > just a guess by the symptoms, but admittedly I have little knowledge > > of Chicken's internals