aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLouis Pilfold <louis@lpil.uk>2024-05-10 09:44:21 +0100
committerLouis Pilfold <louis@lpil.uk>2024-05-10 09:44:21 +0100
commit61a990b147d199b737295c288977b95f4cc285b8 (patch)
treec9f5861d1118e183c8ef474003cfb097e1926dfc /src
parent7d65d9377267e9c0ff9af5de64b25bce6a1801a2 (diff)
downloadgleam_stdlib-61a990b147d199b737295c288977b95f4cc285b8.tar.gz
gleam_stdlib-61a990b147d199b737295c288977b95f4cc285b8.zip
Fewer examples
Diffstat (limited to 'src')
-rw-r--r--src/gleam/int.gleam10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gleam/int.gleam b/src/gleam/int.gleam
index a5e0bfe..c55a514 100644
--- a/src/gleam/int.gleam
+++ b/src/gleam/int.gleam
@@ -682,16 +682,6 @@ pub fn remainder(dividend: Int, by divisor: Int) -> Result(Int, Nil) {
/// // -> Ok(2)
/// ```
///
-/// ```gleam
-/// modulo(13, by: -3)
-/// // -> Ok(-2)
-/// ```
-///
-/// ```gleam
-/// modulo(-13, by: -3)
-/// // -> Ok(-1)
-/// ```
-///
pub fn modulo(dividend: Int, by divisor: Int) -> Result(Int, Nil) {
case divisor {
0 -> Error(Nil)