[gambit-list] srfi-13/14

ben at fuhok.net ben at fuhok.net
Mon Apr 11 23:38:03 EDT 2005


On Fri, Apr 08, 2005 at 11:09:10PM -0500, Bradley Lucier wrote:
> On Apr 7, 2005, at 10:55 PM, ben at fuhok.net wrote:
> >What advantage does the more complicated error checking have over the
> >simpler checking that I put in?  Is there more to it than just
> >consistency with the Gambit runtime?
> Basically, your error-checker
> (define (##check-arg pred val caller)
>   (if (not (pred val)) (error "Bad argument type" val caller)))
> can lead to trouble; if val is circular, for example, or a 10000-entry 
> list, or ...  then there will just be a whole lot of stuff dumped to 
> the terminal until the user hits ^C.  For example:

Ah.  I see, thanks.

> Marc, how do you fix this?

If you received any more info on this from Marc, please forward it to



More information about the Gambit-list mailing list