Portability | Portable (Cookbook) |
---|---|
Stability | Stable |
Maintainer | nathanpisarski@gmail.com |
Safe Haskell | Safe-Inferred |
Library for accessing the information from a list. Modify and Access are six in one and half-dozen in the other in a purely functional language, but the overall theme is this: Access is for functions which return portions of the list, or information about a list. Modify is the library which transforms a list.
Documentation
refpos :: Eq a => ([a], [a]) -> a -> aSource
Referrential positioning. Find the position of an element in the first list, and return the element from the second list of the same position. In the event that the second list is shorter than the position where the element is found in the first list, it returns the parameter.
areAll :: Eq a => [a] -> a -> BoolSource
Test to make sure that all elements in a list are equal to a value.