From 89c1a2e5b8d38e9fddd9d9b66daa1a6f50fbc931 Mon Sep 17 00:00:00 2001 From: Jakub Jankiewicz Date: Mon, 15 Jan 2024 23:35:16 +0100 Subject: [PATCH] fix stream example --- examples/streams.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/streams.scm b/examples/streams.scm index e5c39da9b..ec5cfd431 100644 --- a/examples/streams.scm +++ b/examples/streams.scm @@ -145,7 +145,7 @@ ;; ----------------------------------------------------------------------------- (define (! n) - (stream-reduce * (limit n integers))) + (stream-reduce * (stream-limit n integers))) ;; ----------------------------------------------------------------------------- (define factorials