Safe Haskell | Safe-Inferred |
---|
Documentation
sub :: Eq a => [a] -> Int -> [a]Source
Returns a new list starting at a position. List positions start at 0.
positions :: Eq a => [a] -> a -> [Int]Source
Finds every occurence of an element within a list, starting at position 0.
pos :: Eq a => [a] -> a -> IntSource
Interface to position for finding the position of the first occurence in a list.