flix
trait Box[a: Type]
A trait for primitive types that can be boxed and unboxed.
type Boxed: Type
Bool, Char, Float32, Float64, Int8, Int16, Int32, Int64
def box(x: a): Box.Boxed[a] with Box[a]
Returns the boxed representation of the given x.
x
def unbox(x: Box.Boxed[a]): a with Box[a]
Returns the unboxed representation of the given x.