Re: Bug in sample implementation
Wolfgang Corcoran-Mathe 16 Jun 2020 18:28 UTC
On 2020-06-16 08:10 +0200, Marc Nieper-Wißkirchen wrote:
> In the case that only one SEED is given, the sample implementations of
> maybe-unfold and either-unfold assume that MAPPER applied to the SEED
> returns only one value.
>
> (This is unrelated to the other issue that SUCCESSOR mustn't be a
> dummy argument.)
Fixed in my repo, thanks!
https://github.com/Zipheir/srfi-189/commit/3bcb8afd66d72d0eb522e157e6d67f7cb10028da
--
Wolfgang Corcoran-Mathe <xxxxxx@sigwinch.xyz>
"If one is searching for a needle in a haystack, look in the part
of the haystack that contains more needles." --Bird & Wadler