(read-doc port)
=> documentation record
attached = #f
text = " Note: the answer should be five. "
content = #f
Shouldn't content
be eof-object
? If it's #false
, you won't be able to distinguish the last case from "#false" appearing in the input stream.