Unexpected behavior from 'memq' and 'memv' (guile 1.9.15)

2011-02-07 Thread Mark Harig
'memq' and 'memv' are not returning sublists as documented if (quote...) is used to specify the list that is to be searched. Instead, they are returning #t. Is this expected (and undocumented) behavior? (Note: 'member' returns the found sublist for both (list ...) and (quote ...)) $ /usr/loc

Re: Unexpected behavior from 'memq' and 'memv' (guile 1.9.15)

2011-02-07 Thread Andy Wingo
On Mon 07 Feb 2011 02:13, Mark Harig writes: > 'memq' and 'memv' are not returning sublists as documented if (quote...) > is used to specify the list that is to be searched. Instead, they are > returning #t. Is this expected (and undocumented) behavior? Nope, just a bug. Fixed in git. Thanks