We use this structure in a formal style to talk about plans and
Arrangement , especially when they are official.
The president is to visit Nigeria next month.
We are to get a 10 per cent wage rise in June.
I felt nervous because I was soon to leave home for the first time.
A perfect infinitive can be used to show that a planned event did not happen.
I was to have started work last week, but I changed my mind.