fork download
  1. (define x (cons (list 1 2) (list 3 4)))
  2. (display x) (newline)
  3.  
  4. (define y (list 3 4))
  5. (display y) (newline)
  6.  
  7. (define z (cons (cons 1 2) (cons 3 4)))
  8. (display z) (newline)
  9.  
  10. (define t (cons (cons (cons 1 2) '()) (cons (cons 3 4) '())))
  11. (display t) (newline)
  12.  
  13. (define s (cons (cons 1 (cons 2 '())) (cons 3 (cons 4 '()))))
  14. (display s) (newline)
Success #stdin #stdout 0.03s 8616KB
stdin
Standard input is empty
stdout
((1 2) 3 4)
(3 4)
((1 . 2) 3 . 4)
(((1 . 2)) (3 . 4))
((1 2) 3 4)