Package: guile-1.6-slib Version: 1.6.8-6 Severity: normal There is a bug somewhere between (including) guile-1.6 and slib. it results in strange behavior of the array? function, which as i understand should not accept lists as arrays. (this ruins a sort on a list - i stumbled over this bug when i tried it)
it is trivially posible to solve this (with regard to the sort) by replacing the (require 'sort) with (load "/usr/pkg/share/slib/array.scm") (load "/usr/pkg/share/slib/sort.scm") Of course, this solution is nonportable and the error might occur somewhere else, too. here is a transcript: $ guile --version Guile 1.6.8 [...] $ rlwrap guile guile> (use-modules (ice-9 slib)) guile> (require 'array) #t guile> (array? '(1 2 3)) #t guile> (array-dimensions '(1 2 3)) #f guile> $ rlwrap guile guile> (use-modules (ice-9 slib)) guile> (load "/usr/share/slib/array.scm") guile> (array? '(1 2 3)) #f guile> $ LC_ALL=C dpkg -l slib guile-1.6 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-============================================ ii guile-1.6 1.6.8-6 The GNU extension language and Scheme interp ii slib 3a4-4 Portable Scheme library This Bug does not appear on scm: $ scm [...] > (require 'array) #t > (array? '(1 2 3)) #f -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-4-686 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages guile-1.6-slib depends on: ii guile-1.6 1.6.8-6 The GNU extension language and Sch ii slib 3a4-4 Portable Scheme library guile-1.6-slib recommends no packages. -- no debconf information
signature.asc
Description: Digital signature