Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (11 sloc) 302 Bytes
#lang racket/base
(println '(1 . 2))
(println '(1 . ((2 . 3) . 4)))
(println '((1 . 2) . (3 . 4)))
; this is not the proper list
(println '(1 . (2 . (3 . '()))))
; this is the proper list
(println '(1 . (2 . (3 . ()))))
(define nil '())
; this is the proper list
(println '(1 . (2 . (3 . nil))))
You can’t perform that action at this time.