PasteRack.org
Paste # 31092
2022-05-06 16:17:07

Fork as a new paste.

Paste viewed 325 times.


Embed:

  1. #lang racket
  2.  
  3. (define L '(1 2 3 4 5 6))
  4.  
  5. (car L)
  6. (cdr L)
  7. (cdr (cdr L))

=>

1

'(2 3 4 5 6)

'(3 4 5 6)