Borges 'The Library of Babel' is a beautiful meditation on all sorts of philosophical positions around the 'idea' of infinity, epistemology, the sociology of science, set theory paradoxes. Its literature & not philosophy though, or is it the other way around...?