Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Clarify uniq semantics; add squish alternative
The uniq function guarantees uniqueness throughout the list, but is overkill if the input is sorted appropriately. If the user knows the input is sorted, or if the user merely desires to reduce runs of adjacent identical instances to one instance, the squish function will do that.
- Loading branch information
Showing
1 changed file
with
25 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters