@sig((H/ "a" >> bool)/ H >> ["a"] >> t(Maybe, "a"))
def find(p, xs):
    """
    find :: (a -> Bool) -> [a] -> Maybe a

    The find function takes a predicate and a structure and returns the
    leftmost element of the structure matching the predicate, or Nothing if
    there is no such element.
    """
    for x in xs:
        if p(x):
            return Just(x)
    return Nothing
dataset/ETHPy150Open billpmurphy/hask/hask/Data/List.py/find/swapped operands of `/`