The most basic Urbit data type. Represents any non-negative integer of any size.
See Urbit.Encoding.Phonemic for converting to/from planet names (i.e. ~sampel-palnet).
fromInt : Basics.Int -> Maybe Atom
Creates an atom from an Int
, failing for negative numbers.
fromBigInt : BigInt -> Maybe Atom
Creates an atom from a BigInt
, failing for negative numbers.
toBigInt : Atom -> BigInt
Converts an atom into a BigInt
.