From 58aa98ff5b3a4224c2ff3857ae539480e47deb1b Mon Sep 17 00:00:00 2001 From: Martin Henz Date: Mon, 14 Oct 2024 01:20:06 +0800 Subject: [PATCH] fixes #1060 (#1062) --- xml/chapter3/section5/subsection1.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/chapter3/section5/subsection1.xml b/xml/chapter3/section5/subsection1.xml index 228d0c155..e378de4b8 100644 --- a/xml/chapter3/section5/subsection1.xml +++ b/xml/chapter3/section5/subsection1.xml @@ -1412,7 +1412,7 @@ function stream_map_2_optimized(f, s1, s2) { return is_null(s1) || is_null(s2) ? null : pair(f(head(s1), head(s2)), - memo(() => stream_map_2(f, stream_tail(s1), stream_tail(s2)))); + memo(() => stream_map_2_optimized(f, stream_tail(s1), stream_tail(s2)))); }