aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gleam/list.gleam2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gleam/list.gleam b/src/gleam/list.gleam
index 6170496..1fcd2d8 100644
--- a/src/gleam/list.gleam
+++ b/src/gleam/list.gleam
@@ -1485,7 +1485,7 @@ fn do_combination_pairs(items: List(a)) -> List(List(tuple(a, a))) {
[] -> []
[x, ..xs] -> {
let first_combinations = map(xs, with: fn(other) { tuple(x, other) })
- [first_combinations, combination_pairs(xs)]
+ [first_combinations, ..do_combination_pairs(xs)]
}
}
}