From edcaa0aaf38e75987fc15e5f2ad93ac10d85f6b9 Mon Sep 17 00:00:00 2001 From: Wade Mealing Date: Wed, 26 Nov 2025 00:37:05 +1000 Subject: [PATCH] Use 'echo' instead of io.debug. As per https://gleam.run/news/hello-echo-hello-git/ , the io.debug has been deprecated in newer versions of gleam/io. This is purely a cosmetic example so that the documents are more up to date with modern practices, I do not believe this warrants a version update itself. --- src/act.gleam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/act.gleam b/src/act.gleam index 0e8f929..3ac9248 100644 --- a/src/act.gleam +++ b/src/act.gleam @@ -218,7 +218,7 @@ pub fn map_error( /// ``` /// fn bar() -> Action(result, state) { /// do(some_action, fn(result) { -/// io.debug(result) +/// echo result /// return(result) /// }) /// }