Coercible

refined4s.Coercible
See theCoercible companion object
trait Coercible[A, B]

The idea of Coercible is from scala-newtype https://github.com/estatico/scala-newtype/blob/201dad6b0c628caa9a80141e304ca70716d601a8/shared/src/main/scala/io/estatico/newtype/Coercible.scala It does exactly the same thing as scala-newtype's.

Attributes

Since

2023-12-02

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

final inline def apply(a: A): B