manuel-serrano / bigloo

a practical Scheme compiler
http://www-sop.inria.fr/indes/fp/Bigloo
Other
133 stars 20 forks source link

fix bug in srfi1's filter-map that caused erroneous results #106

Closed donaldsonjw closed 7 months ago

donaldsonjw commented 7 months ago

When filter-map was called with a single list, it failed to filter and map across that list since filter-map-2 was applied to the empty list of lists instead of the first list. I stumbled upon this when adapting srfi196 ranges which relies on filter-map from srfi1

manuel-serrano commented 7 months ago

There is still time to integrate it before the release. Thanks.