chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] jbogenturfa'i: "Error: stack overflow"


From: Felix
Subject: Re: [Chicken-users] jbogenturfa'i: "Error: stack overflow"
Date: Tue, 07 Dec 2010 02:53:01 +0100 (CET)

> 
> I was hoping, I guess, for procedures to be compared with 'eq?'.  I
> presumed that a procedure was an atomic entity, or if it wasn't it
> was (conceptually) a pair containing an environment and code, which
> are themselves eq? or not.

I will propose this (comparing procedures with eq?) as a change
request, because it may break existing code.

> Thank you Felix for determining why the code was generating a stack
> overflow, I realize that Scheme equivalence operators have a lot of
> unspecified behavior, and that unspecified means it could format my
> hard drive and still be standard-compliant--yet I hadn't quite
> understood that it meant I could try to compare a circular structure
> and that could result in a stack overflow.  :-/

You're welcome. Thanks for showing us something that we can
improve. And your statement about formatting the hard-drive puts
it pretty well ...


cheers,
felix



reply via email to

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