Petite Chez Scheme Version 9.5.4
Copyright 1984-2020 Cisco Systems, Inc.

> (define a '(3 4 5))
> (cdr a)
(4 5)
> (cddr a)
(5)
> (cdddr a)
()
> (cddddr a)
Exception in cddddr: incorrect list structure (3 4 5)
> a
(3 4 5)
> (cdddddr a)
Exception: variable cdddddr is not bound
> (define f '((a (b (c))) d)))
> (caadar  f) ; b
b
>(caaar (cdadar  f)) ; b
((c))
> (caar (cdadar  f))
Exception in caaar: incorrect list structure ((c))
> ((c))
Exception: variable c is not bound
> (caar (cdadar  f))
c
> /
#<procedure />
> (define / *)
> (/ 3 4)
12
> (max 3 5 8 2)
8
> (Max 3 5 4)
Exception: variable Max is not bound
> a
(3 4 5)
> (max a)
Exception in max: (3 4 5) is not a real number
> (apply max a)
5
> (mod 19 4)
3
> (define t 6)
> (void)
> (list (void))
(#<void>)
> (if 0 1 2)
1
> (if '() 1 2)
1
> (if (void) 1 2)
1
> (if (< 3 5) 5 6)
5
>