Diderot’s Jacque, The Fatalist is a great example. Perhaps even moreso of endless recursion to the end.