aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gleam/io.gleam2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gleam/io.gleam b/src/gleam/io.gleam
index 4487a60..d55599b 100644
--- a/src/gleam/io.gleam
+++ b/src/gleam/io.gleam
@@ -89,6 +89,8 @@ pub fn println_error(string: String) -> Nil
/// // [2, 3]
/// ```
///
+/// Note: At runtime Gleam doesn't have type information and uses runtime reflection to print the values. This can result in some values being shown in an unexpected way.
+///
pub fn debug(term: anything) -> anything {
term
|> string.inspect