Summary

srfi-41: stream-match discards multiple values

Metadata

Description

stream-match from srfi-41 discards all but the first value returned by the body:

 (stream-match stream-null
   (() (values 1 2 3))
   ...)
 => 1

This bug is not present in other implementations of SRFI 41.

Changes and comments

[2025-01-29 17:27:10 UTC] kon changed status from new to closed

[2025-01-29 17:27:10 UTC] kon set resolution to fixed

[2025-01-29 17:27:10 UTC] kon wrote:

fixed w/ rel 2.1.4 (2/16/23) ----- #;1> (stream-match stream-null

 (() (values 1 2 3)))

1 2 3

3 values