From 9b7f50aaa52f9e76bbe916b6ed9f57b5359cf651 Mon Sep 17 00:00:00 2001 From: henz Date: Fri, 4 Oct 2024 15:22:51 +0800 Subject: [PATCH] fixes #1060 --- 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)))); }