streams in racket

后端 未结 4 1365
情话喂你
情话喂你 2021-01-05 06:44

Can anyone help me better understand how to write a stream?

I understand that a stream is an infinite sequence of values and the way I have learned programming them

4条回答
  •  忘掉有多难
    2021-01-05 07:21

    I wrote SRFI-41 which describes streams, provides an implementation, and gives many examples. The streams there differ from those in SICP, and are "better" in a way explained in the SRFI.

提交回复
热议问题