bug-guile
[Top][All Lists]
Advanced

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

bug#13176: SRFI-37 does not terminate


From: Ludovic Courtès
Subject: bug#13176: SRFI-37 does not terminate
Date: Thu, 13 Dec 2012 22:45:34 +0100
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)

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

Ludo’.





reply via email to

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