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

    round(x) returns the nearest integer to x; the even integer if x is
    equidistant between two integers
    """
    return RealFrac[x].round(x)
dataset/ETHPy150Open billpmurphy/hask/hask/Data/Num.py/round/original