rlupton20/vanguard-dataplane

Replace type declarations with newtype declarations

Opened this issue · 0 comments

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.