Skip to content

Commit

Permalink
add un sort
Browse files Browse the repository at this point in the history
  • Loading branch information
kaikalii committed Sep 13, 2024
1 parent 1510aa6 commit cbada76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ This version is not yet released. If you are reading this on the website, then t
- Add pride flag constants
- Add an experimental [`sort ⍆`](https://uiua.org/docs/sort) function
- Sorting is very common
- [`un °`](https://uiua.org/docs/un) [`sort ⍆`](https://uiua.org/docs/sort) shuffles an array
- Add an experimental [`last ⊣`](https://uiua.org/docs/last) function
- Getting the last row of an array is very common
- Add the experimental [`layout`](https://uiua.org/docs/layout) function, which renders text into an image array
Expand Down
1 change: 1 addition & 0 deletions src/algorithm/invert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ static INVERT_PATTERNS: &[&dyn InvertPattern] = {
),
&pat!(Pick, (Dup, Shape, Range)),
&pat!(Orient, (Dup, Shape, Len, Range)),
&pat!(Sort, (Rand, Deal)),
&InvertPatternFn(invert_on_inv_pattern, "on inverse"),
&InvertPatternFn(invert_push_temp_pattern, "push temp"),
&InvertPatternFn(invert_copy_temp_pattern, "copy temp"),
Expand Down

0 comments on commit cbada76

Please sign in to comment.