bug#68350: Segmentation fault using list-head with negative k

2024-01-09 Thread Tomas Nordin
Hello List If this has been reported before I didn't find it. Here's the recipe: $ guile -q GNU Guile 3.0.8 Copyright (C) 1995-2021 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribu

bug#68350: Segmentation fault using list-head with negative k

2024-01-11 Thread Tomas Nordin
lloda writes: > I think this is another dupe of https://debbugs.gnu.org/58154. Highly possible. Like Ricardo I cannot reproduce this with a local build I made from the tip of the repo. (I saw the same segfault using list-ref with the debian 3.0.8 version FWIW.) -- Tomas

bug#75860: Somewhat confusing exception message with append

2025-01-26 Thread Tomas Nordin
Hello Guile! As expected, the following raises an exception: (append 'a '(b) '()) => ice-9/boot-9.scm:1676:22: In procedure raise-exception: In procedure append: Wrong type argument in position 1 (expecting empty list): a And so does this: (append '(a) 'b '()) => ice-9/boot

bug#75860: Somewhat confusing exception message with append

2025-03-19 Thread Tomas Nordin
Hello Rob Rob Browning writes: > Tomas Nordin writes: > >> But, in both cases the faulty argument is reported to be in position 1. >> I would expect maybe position 2 to be complained about from the second >> call. > > ...and it appears to be correct when run vi