Replace type declarations with newtype declarations
Opened this issue · 0 comments
rlupton20 commented
Improve type safety by replacing type
declarations with newtype
declarations. Smart constructors should be used so arbitrary data can't be encapsulated in the newtypes. Helps the compiler catch more errors.