Using phantom types is a great, light-weight way to prevent run time errors. Learn what phantom types are and how to use them.
This is a companion discussion topic for the original entry at https://www.kodeco.com/1940612-advanced-swift-types-and-operations/lessons/4