From 589a74661749626a4a7b8a5e27b536430ed680af Mon Sep 17 00:00:00 2001 From: Fabian Date: Sat, 4 Mar 2023 13:02:16 +0100 Subject: Use more natural writing for numeral bases in docs --- src/gleam/int.gleam | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/gleam/int.gleam b/src/gleam/int.gleam index 1f7ab79..793a85e 100644 --- a/src/gleam/int.gleam +++ b/src/gleam/int.gleam @@ -222,7 +222,7 @@ if javascript { "../gleam_stdlib.mjs" "int_to_base_string" } -/// Prints a given int to a string using base2. +/// Prints a given int to a string using base-2. /// /// ## Examples /// @@ -235,7 +235,7 @@ pub fn to_base2(x: Int) -> String { do_to_base_string(x, 2) } -/// Prints a given int to a string using base8. +/// Prints a given int to a string using base-8. /// /// ## Examples /// @@ -248,7 +248,7 @@ pub fn to_base8(x: Int) -> String { do_to_base_string(x, 8) } -/// Prints a given int to a string using base16. +/// Prints a given int to a string using base-16. /// /// ## Examples /// @@ -261,7 +261,7 @@ pub fn to_base16(x: Int) -> String { do_to_base_string(x, 16) } -/// Prints a given int to a string using base36. +/// Prints a given int to a string using base-36. /// /// ## Examples /// -- cgit v1.2.3