PasteRack.org
Paste # 74273
2019-05-07 23:51:20

Fork as a new paste.

Paste viewed 333 times.


Embed:

  1. #lang racket
  2.  
  3. (define x (cons 14 null))
  4. (define y x)
  5. (set! x (cons 42 null))
  6. (define ans (car y))
  7. (writeln ans)

=>

14