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