I want my procedure to print something, then return that something. I tried this
(define (print x)
((display x)
x))
Shouldn't it be as straightforward to say that this procedure displays x
at first then returns it as it's expressed at the end of the procedure? Well, apparently it is wrong, and that there is something very fundamental I don't understand about Scheme. So anybody, help me understand this. Thanks