Chapter 1, Swift vs Objective-C Debugging expression issue

I followed this example as written and ran into an issue, but I believe I found the cause. The correct command appears to be expr -l swift -- import Foundation, not ex -l swift -- import Foundation as shown in the book. If I missed this clarification elsewhere, I apologize.