Refined4s
Newtypes and Refinement types for Scala 3
Newtypes
Refined4s provides an easy way to create newtypes for the existing types. So params like (Int, String, String, Int)
can be(Id, Name, Description, Count)
Refinement Types
Refined4s also provides an easy way to create refinement types.
For Scala 3
Refined4s is developed to support newtypes and refinement types for Scala 3.