Scala has many libraries for new and refined types, but do you know the difference? 🤔 New types create distinct types (think new boxes for your data). Refined types add constraints to existing types (think labels & rules for what goes in the box). Artūras Šlajus just released a newtype library exclusively for Scala 3! #scala #typesafe https://arturaz.github.io/yantl/
Discussion
No replies yet.