In book two of the The Iliad (which you can read online), Homer does something that I find strange: he interrupts the story to list the name of every captain involved in the Trojan war:
And now, O Muses, dwellers in the mansions of Olympus, tell me- for you are goddesses and are in all places so that you see all things, while we know nothing but by report- who were the chiefs and princes of the Danaans? As for the common soldiers, they were so that I could not name every single one of them though I had ten tongues, and though my voice failed not and my heart were of bronze within me, unless you, O Olympian Muses, daughters of aegis-bearing Jove, were to recount them to me. Nevertheless, I will tell the captains of the ships and all the fleet together.
Peneleos, Leitus, Arcesilaus, Prothoenor, and Clonius were captains of the Boeotians. These were they that dwelt in Hyria and rocky Aulis, and who held Schoenus, Scolus, and the highlands of Eteonus, with Thespeia, Graia, and the fair city of Mycalessus. They also held Harma, Eilesium, and Erythrae; and they had Eleon, Hyle, and Peteon; Ocalea and the strong fortress of Medeon; Copae, Eutresis, and Thisbe the haunt of doves; Coronea, and the pastures of Haliartus; Plataea and Glisas; the fortress of Thebes the less; holy Onchestus with its famous grove of Neptune; Arne rich in vineyards; Midea, sacred Nisa, and Anthedon upon the sea. From these there came fifty ships, and in each there were a hundred and twenty young men of the Boeotians.
This is just a tiny portion of the list: Homer continues listing these names for a long time.
What's going on here? Why does Homer interrupt the story to list these names?