JuliaLang/Compat.jl — pull request #34 by tlycken (2014-12-26 22:49:32+00:00)
Title: Support rounding of rationals

Before this PR:

```
julia> using Compat

julia> @compat round(Int, 1//2)
ERROR: `iround` has no method matching iround(::Type{Int64}, ::Rational{Int64})
in round at /home/tlycken/.julia/v0.3/Compat/src/Compat.jl:45
```

After this PR:

```
julia> using Compat

julia> @compat round(Int, 1//2)
1
```