This module just provides one function coerce
and other examples, The purpose is to understand type conversion between MoonBit types.
Some explanations are derived from haskell coerce.
Similar notion in other languages like C++ reinterpret_cast.
This module just provides one function coerce
and other examples, The purpose is to understand type conversion between MoonBit types.
Some explanations are derived from haskell coerce.
Similar notion in other languages like C++ reinterpret_cast.