Why it matters
iron is modern Scala 3 refinements. Understanding shapes type-safe Scala 3.
Advertisement
The architecture
Type: 'Int :| Positive'.
Native Scala 3 union types.
Advertisement
How it works end to end
Constraints: Positive, NonEmpty, various.
Compile-time check for literals.
Runtime: eitherRefine[C].
Circe + Doobie integrations.