We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e20cf17 commit 2768bc8Copy full SHA for 2768bc8
CHANGELOG.md
@@ -1,5 +1,10 @@
1
# Changelog
2
3
+## Unreleased
4
+
5
+- The `debug` function in the `io` module has been deprecated in favour of
6
+ the `echo` keyword.
7
8
## v0.58.0 - 2025-03-23
9
10
- The deprecated `pop` and `pop_map` functions have been removed from the
src/gleam/io.gleam
@@ -93,6 +93,7 @@ pub fn println_error(string: String) -> Nil
93
/// with some types having the same runtime representation results in it not
94
/// always being possible to correctly choose which Gleam syntax to show.
95
///
96
+@deprecated("To debug print a value use the `echo` keyword instead")
97
pub fn debug(term: anything) -> anything {
98
term
99
|> string.inspect
0 commit comments