aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroscar lopez <oscarfsbs@gmail.com>2024-09-16 16:47:11 -0500
committerLouis Pilfold <louis@lpil.uk>2024-09-17 13:47:29 +0100
commit3f821a5755a27945c06d7f67fa00888e4a3e80ee (patch)
treec97376acfb1ea1c345c9ff6a1f1bf5f07eb3dbc7
parent363de5ebd94d6c975d4f232955050d364512d230 (diff)
downloadgleam_stdlib-3f821a5755a27945c06d7f67fa00888e4a3e80ee.tar.gz
gleam_stdlib-3f821a5755a27945c06d7f67fa00888e4a3e80ee.zip
Fix io comment consistency
-rw-r--r--src/gleam/io.gleam10
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.
///