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

Reply via email to