PasteRack.org
Paste # 41844
2019-05-07 23:47:26

Fork as a new paste.

Paste viewed 308 times.


Embed:

  1. #lang racket
  2.  
  3. (define my_stream (lambda () (cons 2 my_stream)))
  4.  
  5. (define ans (car ((cdr ((cdr (my_stream)))))))
  6.  
  7. (writeln ans)

=>

2