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/

Reply to this note

Please Login to reply.

Discussion

No replies yet.