PasteRack.org
Paste # 98547
2022-05-06 16:43:32

Fork as a new paste.

Paste viewed 447 times.


Embed:

  1. #lang racket
  2.  
  3. (cons '(1 2) 3)
  4. (cons '(1 2) '(3))
  5. (append '(1 2) 3)

=>

'((1 2) . 3)

'((1 2) 3)

'(1 2 . 3)