| Portability | portable |
|---|---|
| Stability | Unstable |
| Maintainer | ualinuxcn@gmail.com |
| Safe Haskell | Safe-Inferred |
Data.List.Unique
Description
Library provides the functions to find unique and duplicate elements in the list
Documentation
repeatedBy :: Ord a => (Int -> Bool) -> [a] -> [a]Source
The repeatedBy function behaves just like repeated, except it uses a user-supplied equality predicate.
repeatedBy (>2) This is the test line == eist