Module
Data.BigInt
- Package
- purescript-bigints
- Repository
- sharkdp/purescript-bigints
This module defines a BigInt
data type for arbitrary length integers.
#fromString Source
fromString :: String -> Maybe BigInt
Parse a string into a BigInt
, assuming a decimal representation. Returns
Nothing
if the parse fails.
Examples:
fromString "42"
fromString "857981209301293808359384092830482"
fromString "1e100"
- Modules
- Data.
BigInt