GNU bug report logs - #13176
SRFI-37 does not terminate

Previous Next

Package: guile;

Reported by: ludo <at> gnu.org (Ludovic Courtès)

Date: Thu, 13 Dec 2012 21:47:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andy Wingo <wingo <at> pobox.com>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 13176 <at> debbugs.gnu.org
Subject: bug#13176: SRFI-37 does not terminate
Date: Thu, 07 Mar 2013 23:04:07 +0100
On Thu 13 Dec 2012 22:45, ludo <at> gnu.org (Ludovic Courtès) writes:

> The following case does not terminate:
>
> scheme@(guile-user)> (use-modules (srfi srfi-37))
> scheme@(guile-user)> (define opts (list (option '(#\I) #f #t (lambda _ #t))))
> scheme@(guile-user)> (args-fold '("-I") opts (lambda _ (error "unrecognized")) (lambda _ #f) '())
> [spins forever]
>
> (This is an option with a short name, optional argument; it is used
> without that optional argument.)

As an args-fold user, you would be ideal to look into this one :-)

A
-- 
http://wingolog.org/




This bug report was last modified 12 years and 95 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.