Module

Contract.Numeric.Convert

A module with helpers for converting between different Numeric types outside of CTL's custom types.

Re-exports from Ctl.Internal.Helpers

#uIntToBigInt

uIntToBigInt :: UInt -> BigInt

Converts an UInt to BigInt

#bigIntToUInt

bigIntToUInt :: BigInt -> Maybe UInt

Converts a BigInt to UInt with potential failure.

Modules