@sig("a"/ H[(RealFrac, "a"), (Integral, "b")] >> "b")
def truncate(x):
    """
    truncate :: RealFrac a, Integral b => a -> b

    truncate(x) returns the integer nearest x between zero and x
    """
    return RealFrac[x].truncate(x)
dataset/ETHPy150Open billpmurphy/hask/hask/Data/Num.py/truncate/swapped operands of `/`