unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#13176: SRFI-37 does not terminate
@ 2012-12-13 21:45 Ludovic Courtès
  2013-03-07 22:04 ` Andy Wingo
  2013-03-25 22:29 ` Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Ludovic Courtès @ 2012-12-13 21:45 UTC (permalink / raw)
  To: 13176

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#13176: SRFI-37 does not terminate
  2012-12-13 21:45 bug#13176: SRFI-37 does not terminate Ludovic Courtès
@ 2013-03-07 22:04 ` Andy Wingo
  2013-03-25 22:29 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Andy Wingo @ 2013-03-07 22:04 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 13176

On Thu 13 Dec 2012 22:45, ludo@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/





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#13176: SRFI-37 does not terminate
  2012-12-13 21:45 bug#13176: SRFI-37 does not terminate Ludovic Courtès
  2013-03-07 22:04 ` Andy Wingo
@ 2013-03-25 22:29 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2013-03-25 22:29 UTC (permalink / raw)
  To: 13176-done

ludo@gnu.org (Ludovic Courtès) skribis:

> 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]

Fixed in 59b0f9d.

Ludo’.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-25 22:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-13 21:45 bug#13176: SRFI-37 does not terminate Ludovic Courtès
2013-03-07 22:04 ` Andy Wingo
2013-03-25 22:29 ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).