aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gleam/bool.gleam54
1 files changed, 0 insertions, 54 deletions
diff --git a/src/gleam/bool.gleam b/src/gleam/bool.gleam
index 1c6e863..ba2222b 100644
--- a/src/gleam/bool.gleam
+++ b/src/gleam/bool.gleam
@@ -235,60 +235,6 @@ pub fn compare(a: Bool, with b: Bool) -> Order {
}
}
-/// Returns `True` if either argument's value is `True`.
-///
-/// ## Examples
-///
-/// ```gleam
-/// max(True, False)
-/// // -> True
-/// ```
-///
-/// ```gleam
-/// max(False, True)
-/// // -> True
-/// ```
-///
-/// ```gleam
-/// max(False, False)
-/// // -> False
-/// ```
-///
-@deprecated("Use the `bool.or` function instead")
-pub fn max(a: Bool, b: Bool) -> Bool {
- case a {
- True -> True
- False -> b
- }
-}
-
-/// Returns `False` if either bool value is `False`.
-///
-/// ## Examples
-///
-/// ```gleam
-/// min(True, False)
-/// // -> False
-/// ```
-///
-/// ```gleam
-/// min(False, True)
-/// // -> False
-/// ```
-///
-/// ```gleam
-/// min(False, False)
-/// // -> False
-/// ```
-///
-@deprecated("Use the `bool.and` function instead")
-pub fn min(a: Bool, b: Bool) -> Bool {
- case a {
- False -> False
- True -> b
- }
-}
-
/// Returns a numeric representation of the given bool.
///
/// ## Examples