Welcome to MzScheme v4.1.4 [3m], Copyright (c) 2004-2009 PLT Scheme Inc. > (load "third.scm") reference to undefined identifier: spam === context === /Applications/PLTScheme/collects/scheme/private/misc.ss:74:7 > (load "third.scm") #t > (load "third.scm") #t > (third spam) reference to undefined identifier: spam === context === /Applications/PLTScheme/collects/scheme/private/misc.ss:74:7 > (define spam (list 1 2 3))) > stdin::96: read: unexpected `)' === context === /Applications/PLTScheme/collects/scheme/private/misc.ss:74:7 > (define spam (list 1 2 3)) > (third spam) 3 > define third (lambda (alist) (car (cdr (cdr alist))))) stdin::138: define: bad syntax in: define === context === /Applications/PLTScheme/collects/scheme/private/kw.ss:611:2 /Applications/PLTScheme/collects/scheme/private/misc.ss:74:7 > # > # > stdin::193: read: unexpected `)' === context === /Applications/PLTScheme/collects/scheme/private/misc.ss:74:7 > (define third (lambda (alist) (car (cdr (cdr alist))))) > (load "third.scm") > (test-third) #t > (define a (list 1 2 3)) > a (1 2 3) > (define b (cons 4 (cdr a))) > b (4 2 3) > a (1 2 3) > () stdin::345: #%app: missing procedure expression; probably originally (), which is an illegal empty application in: (#%app) === context === /Applications/PLTScheme/collects/scheme/private/misc.ss:74:7 > '() () > 'a a > 2 2 > a (1 2 3) > 'a a > () stdin::362: #%app: missing procedure expression; probably originally (), which is an illegal empty application in: (#%app) === context === /Applications/PLTScheme/collects/scheme/private/misc.ss:74:7 > '() () > empty () > (cons 2 '()) (2) > (cons 4 (cons 2 '())) (4 2) > (cons a (cons 4 (cons 2 '()))) ((1 2 3) 4 2) > (define c (cons a (cons 4 (cons 2 '())))) > c ((1 2 3) 4 2) > a (1 2 3) >