morley-1.12.0: Developer tools for the Michelson Language
Safe HaskellNone
LanguageHaskell2010

Util.Num

Description

Utilities for numbers.

Synopsis

Documentation

fromIntegralChecked :: (Integral a, Integral b) => a -> Either Text b Source #

Convert between integral types, checking for overflows/underflows.