For people interested in Standard ML*: My submission to "Quining in in a pristine world" with a hopefully understandable explanation.
(* I know there are at least a few people interested because the recent tips question got some upvotes, and I suspect there might be a non-empty intersection with Haskell users.)