In julia 0.5, irrationals cannot be compared by itself other than equality. I think for completeness an irrational compared with itself with those methods should be defined. Is there any reason not to? Sample results in julia 0.5
xxxx@XXXX:~$ julia
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://docs.julialang.org
_ _ _| |_ __ _ | Type "?help" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.5.0 (2016-09-19 18:14 UTC)
_/ |\__'_|_|_|\__'_| | Official http://julialang.org/ release
|__/ | x86_64-pc-linux-gnu
julia> e<=e
ERROR: <= not defined for Irrational{:e}
in <=(::Irrational{:e}, ::Irrational{:e}) at ./promotion.jl:271
julia> e<e
ERROR: < not defined for Irrational{:e}
in <(::Irrational{:e}, ::Irrational{:e}) at ./promotion.jl:270
julia> pi<pi
ERROR: < not defined for Irrational{:π}
in <(::Irrational{:π}, ::Irrational{:π}) at ./promotion.jl:270
julia> pi>e
true
julia> catalan > e
false
julia> catalan > catalan
ERROR: < not defined for Irrational{:catalan}
in >(::Irrational{:catalan}, ::Irrational{:catalan}) at ./operators.jl:64