This combines two opposite words to create a new meaning or describe something in an unusual, often poetic way.
In "To dance was her dream," the infinitive functions as:
Imported from external platform