Recursive science fiction

Mike Resnick and Robert J. Sawyer cite Typewriter in the Sky by L. Ron Hubbard as an example of recursive science fiction.

[1] Barry N. Malzberg's novel Herovit's World, about a hack science-fiction writer's struggle with the protagonist of his novels, is another.

Gary Westfahl writes, "Luigi Pirandello's play Six Characters in Search of an Author (1921) offered a non-genre model.

"[2] Westfahl noted that Hubbard's book was "an early genre example, perhaps inspired by Pirandello".

In the 2002 film The Time Machine, the story by the real-life Wells serves as inspiration for the film's protagonist to invent a time machine.