Skip to content

Commit

Permalink
fix stream example
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Jan 15, 2024
1 parent 4ba0f8d commit 89c1a2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/streams.scm
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@

;; -----------------------------------------------------------------------------
(define (! n)
(stream-reduce * (limit n integers)))
(stream-reduce * (stream-limit n integers)))

;; -----------------------------------------------------------------------------
(define factorials
Expand Down

0 comments on commit 89c1a2e

Please sign in to comment.