One Thousand and One Nights
Foreshadowing

Early examples of the foreshadowing technique of repetitive designation, now known as "Chekhov's gun", occur in the One Thousand and One Nights, which contains "repeated references to some character or object which appears insignificant when first mentioned but which reappears later to intrude suddenly in the narrative." A notable example is in the tale of "The Three Apples" (see Crime fiction elements below).

Another early foreshadowing technique is formal patterning, "the organization of the events, actions and gestures which constitute a narrative and give shape to a story; when done well, formal patterning allows the audience the pleasure of discerning and anticipating the structure of the plot as it unfolds." This technique is also found in One Thousand and One Nights.
combination:repeat_prompt, oulipo:avoid_letter[o]