Context: X wants to know what sorts of books Y likes to read.

X: Do you like historical fiction?
Y: When the writing is good.