[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
stable-sort and guile 1.8.1
From: |
Ales Hvezda |
Subject: |
stable-sort and guile 1.8.1 |
Date: |
Wed, 24 Jan 2007 05:58:20 -0800 (PST) |
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
- stable-sort and guile 1.8.1,
Ales Hvezda <=