PasteRack.org
Paste # 96473
2022-05-06 16:16:27

Fork as a new paste.

Paste viewed 319 times.


Embed:

  1. #lang racket
  2.  
  3. (define L '(1 2 3 4 5 6))
  4.  
  5. (caar L)

=>

caar: contract violation

  expected: (cons/c pair? any/c)

  given: '(1 2 3 4 5 6)