def intdiv_by(y):
    """intdiv_by(y)(x) = x // y

    Be careful with this because division is not commutative.

    You may be interested in func.flip(intdiv_by) to reverse the arguments.

    >>> intdiv_by(2)(4)
    2
    >>> intdiv_by(2)(5)
    2
    >>> from .func import flip
    >>> flip(intdiv_by)(5)(2)
    2
    """
    return lambda x : x // y