@sig(H/ (H/ "a" >> bool) >> ["a"] >> [int])
def findIndicies(f, xs):
    """
    findIndices :: (a -> Bool) -> [a] -> [Int]

    The findIndices function extends findIndex, by returning the indices of all
    elements satisfying the predicate, in ascending order.
    """
    return L[(i for i, x in enumerate(xs) if f(x))]


#=============================================================================#
# Zipping and unzipping lists
dataset/ETHPy150Open billpmurphy/hask/hask/Data/List.py/findIndicies/original