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
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
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)
--->
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
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
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,
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
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