diff options
author | oscar lopez <oscarfsbs@gmail.com> | 2024-09-16 16:47:11 -0500 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2024-09-17 13:47:29 +0100 |
commit | 3f821a5755a27945c06d7f67fa00888e4a3e80ee (patch) | |
tree | c97376acfb1ea1c345c9ff6a1f1bf5f07eb3dbc7 /src | |
parent | 363de5ebd94d6c975d4f232955050d364512d230 (diff) | |
download | gleam_stdlib-3f821a5755a27945c06d7f67fa00888e4a3e80ee.tar.gz gleam_stdlib-3f821a5755a27945c06d7f67fa00888e4a3e80ee.zip |
Fix io comment consistency
Diffstat (limited to 'src')
-rw-r--r-- | src/gleam/io.gleam | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gleam/io.gleam b/src/gleam/io.gleam index ca493f6..0f16cc3 100644 --- a/src/gleam/io.gleam +++ b/src/gleam/io.gleam @@ -1,6 +1,6 @@ import gleam/string -/// Writes a string to standard output. +/// Writes a string to standard output (stdout). /// /// If you want your output to be printed on its own line see `println`. /// @@ -20,7 +20,7 @@ pub fn print(string: String) -> Nil { @external(javascript, "../gleam_stdlib.mjs", "print") fn do_print(string string: String) -> Nil -/// Writes a string to standard error. +/// Writes a string to standard error (stderr). /// /// If you want your output to be printed on its own line see `println_error`. /// @@ -40,7 +40,7 @@ pub fn print_error(string: String) -> Nil { @external(javascript, "../gleam_stdlib.mjs", "print_error") fn do_print_error(string string: String) -> Nil -/// Writes a string to standard output, appending a newline to the end. +/// Writes a string to standard output (stdout), appending a newline to the end. /// /// ## Example /// @@ -58,7 +58,7 @@ pub fn println(string: String) -> Nil { @external(javascript, "../gleam_stdlib.mjs", "console_log") fn do_println(string string: String) -> Nil -/// Writes a string to standard error, appending a newline to the end. +/// Writes a string to standard error (stderr), appending a newline to the end. /// /// ## Example /// @@ -76,7 +76,7 @@ pub fn println_error(string: String) -> Nil { @external(javascript, "../gleam_stdlib.mjs", "console_error") fn do_println_error(string string: String) -> Nil -/// Prints a value to standard error (stderr) yielding Gleam syntax. +/// Writes a value to standard error (stderr) yielding Gleam syntax. /// /// The value is returned after being printed so it can be used in pipelines. /// |