diff options
author | inoas <mail@inoas.com> | 2022-10-27 21:36:34 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-27 22:36:34 +0100 |
commit | 5cd94fd14ae3d674b679542f56c73247dd7a2e77 (patch) | |
tree | 42690732b3337c8b1360422e51289a0fe3df6a13 /CHANGELOG.md | |
parent | 93c3223e8e5d5f9ba2a4020b18bed5802c63bdff (diff) | |
download | gleam_stdlib-5cd94fd14ae3d674b679542f56c73247dd7a2e77.tar.gz gleam_stdlib-5cd94fd14ae3d674b679542f56c73247dd7a2e77.zip |
fix list.permutation on lists with non unique item values (#358)
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 842c85d..dd0029f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,13 +2,15 @@ ## v0.24.1 - unreleased +- Fixed a bug where `list.permutations` would not correctly permutate lists + with non-unique item values. - For `regexp.compile` unicode character properties are now used when resolving `\B`, `\b`, `\D`, `\d`, `\S`, `\s`, `\W`, and `\w` on target Erlang. - `list.sort` is now tail recursive and will no longer exceed the stack size on large inputs on target JavaScript. -- `list.sort` is now a "stable" sort, meaning equal elements are sorted in - the same order that they appear in the input. +- `list.sort` is now a "stable" sort, meaning elements which are equal in + regards to the given comparison function will keep their previous order. - Added functions `function.apply1` through `function.apply3` which help working with functions in pipelines. - Fixed a bug where `regex.scan` would not work correctly on utf8. |