source-academy / sicp

XML sources of SICP and SICP JS, and support for generating Interactive SICP JS, PDF, e-book and comparison editions

Home Page:https://sourceacademy.org/sicpjs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Solution to Exercise 3.56

clean99 opened this issue · comments

const S = pair(1, () => merge(scale_stream(S, 2),
                              merge(scale_stream(S, 3), scale_stream(S, 5))));