Skip to content

Commit 1cd95fb

Browse files
committed
Remove note
1 parent 5cd94fd commit 1cd95fb

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/gleam/list.gleam

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1443,14 +1443,6 @@ pub fn partition(
14431443
/// [[1, 2], [2, 1]]
14441444
/// ```
14451445
///
1446-
/// Notice, that this function is not tail recursive:
1447-
///
1448-
/// The execution limits on permutations are iterations rather than stack size;
1449-
/// for a permutation with `10` items a non tail recursive algorithm will at
1450-
/// worst built up a stack size of `10` before it goes back to `1` eventually,
1451-
/// while a permutation of say `5_000` items will not compute, in reasonable
1452-
/// time, despite not exceeding stack size.
1453-
///
14541446
pub fn permutations(l: List(a)) -> List(List(a)) {
14551447
case l {
14561448
[] -> [[]]

0 commit comments

Comments
 (0)