
[;1m  list_to_integer(String)[0m

  Returns an integer whose text representation is [;;4mString[0m.

  For example:

    > list_to_integer("123").
    123

    > list_to_integer("-123").
    -123

    > list_to_integer("+123234982304982309482093833234234").
    123234982304982309482093833234234

  [;;4mString[0m must contain at least one digit character and can have an
  optional prefix consisting of a single "[;;4m+[0m" or "[;;4m-[0m" character
  (that is, [;;4mString[0m must match the regular expression [;;4m[0m
  [;;4m"^[+-]?[0-9]+$"[0m).

  Failure: [;;4mbadarg[0m if [;;4mString[0m contains a bad representation of an
  integer.

[;1m  list_to_integer(String, Base)[0m

  Returns an integer whose text representation in base [;;4mBase[0m is [;;4m[0m
  [;;4mString[0m.

  For example:

    > list_to_integer("3FF", 16).
    1023

    > list_to_integer("+3FF", 16).
    1023

    > list_to_integer("3ff", 16).
    1023

    > list_to_integer("3fF", 16).
    1023

    > list_to_integer("-3FF", 16).
    -1023

  For example, when [;;4mBase[0m is 16, [;;4mString[0m must match the regular
  expression [;;4m"^[+-]?([0-9]|[A-F]|[a-f])+$"[0m.

  Failure: [;;4mbadarg[0m if [;;4mString[0m contains a bad representation of an
  integer.
