notjack
2020-10-21 17:59:49

Maybe we should just use the term “function call” in docs


notjack
2020-10-21 18:00:49

there isn’t, but question about your use case: is the lazy field value derived from the other fields?


chansey97
2020-10-21 19:21:23

I have a question (maybe silly) about stream. #lang racket (require racket/stream) (define ones (stream-cons 1 ones)) (stream-take ones 10) It complained > Welcome to DrRacket, version 6.12 [3m]. > Language: racket, with debugging; memory limit: 2048 MB. > . stream-take: unbound identifier in module in: stream-take > > See the documentation https://docs.racket-lang.org/reference/streams.html#%28def._%28%28lib._racket%2Fstream..rkt%29._stream-take%29%29, it has this procedure, right?


sorawee
2020-10-21 19:25:56

@chansey97 you are using an old version of Racket. Upgrade it and stream-take will be available to you.


sorawee
2020-10-21 19:26:19

sorawee
2020-10-21 19:26:40

Racket 6.12 that you use was released on January 2018


sorawee
2020-10-21 19:27:00

Probably there should be a @history note in the documentation


chansey97
2020-10-21 19:27:07

@sorawee OK Thanks.


kellysmith12.21
2020-10-21 20:00:57

The lazy field is not dependent on other fields.


joshibharathiramana
2020-10-22 02:15:38

Is there a standard library function for unioning a list of sets? Or should I just go ahead and fold?


joshibharathiramana
2020-10-22 02:17:22

hmm I suppose I could do (apply set-union (list s0 s1 s2))


kellysmith12.21
2020-10-22 03:24:16

@joshibharathiramana I would just use (apply set-union ...) like you mentioned.