* stable-sort can't sort the empty list
@ 2007-09-14 18:15 westrick
2007-09-17 19:30 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: westrick @ 2007-09-14 18:15 UTC (permalink / raw)
To: bug-guile; +Cc: Gregory Marton
Hi,
Here is a bug in stable-sort (it can't sort the empty list):
guile> (stable-sort '() <)
Backtrace:
In standard input:
1: 0* [stable-sort {()} #<primitive-generic <>]
standard input:1:1: In procedure stable-sort in expression
(stable-sort (quote ()) <):
standard input:1:1: Wrong type argument in position 1: ()
ABORT: (wrong-type-arg)
sort is fine:
guile> (sort '() <)
()
Thanks,
Linda Westrick
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: stable-sort can't sort the empty list
2007-09-14 18:15 stable-sort can't sort the empty list westrick
@ 2007-09-17 19:30 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2007-09-17 19:30 UTC (permalink / raw)
To: bug-guile; +Cc: westrick
Hi,
westrick@csail.mit.edu writes:
> Here is a bug in stable-sort (it can't sort the empty list):
This has been fixed in CVS. The fix will appear in the next stable
release (1.8.3).
Thanks for your report,
Ludovic.
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-09-17 19:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-14 18:15 stable-sort can't sort the empty list westrick
2007-09-17 19:30 ` 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).