* stable-sort and guile 1.8.1
@ 2007-01-24 13:58 Ales Hvezda
2007-01-24 22:56 ` Kevin Ryde
0 siblings, 1 reply; 2+ messages in thread
From: Ales Hvezda @ 2007-01-24 13:58 UTC (permalink / raw)
To: guile-user
Hi,
I'm a developer on the gEDA project
(http://geda.seul.org) and I've been using guile
extensively since the early days in gEDA/gaf.
Now that guile-1.8.x is starting to be propagated to
various new Linux distributions, I've received a
number of bug reports that various parts of
gEDA/gaf are not working correctly (that worked
just fine with guile-1.6.x). For the most part
it's been easy to workaround/fix the various
breakages.
However, one change from guile 1.6.x to 1.8.x has
me a little puzzled. If I run guile 1.6.8 and
execute stable-sort with an empty list everything
is fine:
$ guile --version
Guile 1.6.8
Copyright (c) 1995, 1996, 1997, 2000, 2001, 2002,
2003, 2004, 2005, 2006 Free Software Foundation
...
$ guile
guile> (stable-sort '() <)
()
But with guile 1.8.1 the behavior of stable-sort
with an empty list is quite different:
$ ./guile --version
Guile 1.8.1
Copyright (c) 1995, 1996, 1997, 2000, 2001, 2002,
2003, 2004, 2005, 2006 Free Software Foundation
...
$ ./guile
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)
Is this expected and/or intentional behavior?
Can I no longer pass an empty list to stable-sort
in guile 1.8.x? Thanks,
-Ales
--
Ales Hvezda
http://geda.seul.org
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: stable-sort and guile 1.8.1
2007-01-24 13:58 stable-sort and guile 1.8.1 Ales Hvezda
@ 2007-01-24 22:56 ` Kevin Ryde
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Ryde @ 2007-01-24 22:56 UTC (permalink / raw)
To: Ales Hvezda; +Cc: guile-user
Ales Hvezda <ahvezda@yahoo.com> writes:
>
> Is this expected and/or intentional behavior?
Thanks, it's a bug. I'll apply a fix.
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-24 22:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-24 13:58 stable-sort and guile 1.8.1 Ales Hvezda
2007-01-24 22:56 ` Kevin Ryde
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).