3 ms·
Refined is awesome but in scala3 I switched away from it, and use hand crafted phantom types instead. Compilation costs of refined are a bit too much since all
by AzzieElbab 5y ago
Refined is awesome but in scala3 I switched away from it, and use hand crafted phantom types instead. Compilation costs of refined are a bit too much since all you get in the end is enforced validation. Coolest looking feature like value validations at compile time has very few practical applications.