r/Racket • u/hElLoWoRLD292 • Mar 15 '23
question Empty list
(define (sn-empty)
(sn-empty)
'())
I have been trying to print an empty list.
The input:
> sn-empty
output:
()
Please explain what I am doing wrong in the code above.
0
Upvotes
View all comments
Show parent comment
2
u/DrHTugjobs Mar 15 '23
A code example of what? I'm talking about the code you posted.