Coerce

trait Coerce[t: Type -> Type]Source

A trait for type that can be coerced.

Currently only supports newtype-style wrappers.

Signatures

def coerce(x: t[a]): a with Coerce[t] Source

Returns the unwrapped value of x.