aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gleam/bool.gleam2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gleam/bool.gleam b/src/gleam/bool.gleam
index 0671c03..4192ac5 100644
--- a/src/gleam/bool.gleam
+++ b/src/gleam/bool.gleam
@@ -253,6 +253,7 @@ pub fn compare(a: Bool, with b: Bool) -> Order {
/// // -> False
/// ```
///
+@deprecated("Use the `bool.or` function instead")
pub fn max(a: Bool, b: Bool) -> Bool {
case a {
True -> True
@@ -279,6 +280,7 @@ pub fn max(a: Bool, b: Bool) -> Bool {
/// // -> False
/// ```
///
+@deprecated("Use the `bool.and` function instead")
pub fn min(a: Bool, b: Bool) -> Bool {
case a {
False -> False