You get that error when a function only has definitions in its body:
(define (f)
(define a 1)
(define b 2))
My guess is that your "get answer from t" is a definition or is really
inside the t's ()s but you can't notice because of indentation. If you
want to send it directly to me, I'm sure I could eyeball it.
Jay
--
Jay McCarthy <
j...@cs.byu.edu>
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay
"The glory of God is Intelligence" - D&C 93