diff options
author | sarna <sarna.dev@protonmail.com> | 2024-03-18 16:38:48 +0100 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2024-03-18 15:41:36 +0000 |
commit | 713c2571f8e0f78d5ba8164c2483c1ac177c359c (patch) | |
tree | 0382c5871ef6d66c80899fb08762778c784906bc | |
parent | 2427639f3a5f4495a14d6d766e518589970c632a (diff) | |
download | gleam_stdlib-713c2571f8e0f78d5ba8164c2483c1ac177c359c.tar.gz gleam_stdlib-713c2571f8e0f78d5ba8164c2483c1ac177c359c.zip |
Add note about side-effects in guard
-rw-r--r-- | src/gleam/bool.gleam | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gleam/bool.gleam b/src/gleam/bool.gleam index adf1fd8..0671c03 100644 --- a/src/gleam/bool.gleam +++ b/src/gleam/bool.gleam @@ -361,7 +361,7 @@ pub fn to_string(bool: Bool) -> String { /// /// Note that unlike in procedural languages the `return` value is evaluated /// even when the predicate is `False`, so it is advisable not to perform -/// expensive computation there. +/// expensive computation nor side-effects there. /// /// /// ## Examples |