What is Expr(:<:, :X, :Int) supposed to mean? I just get an AST error when trying to evaluate that expression, so it can't be very usefull
julia> eval(Expr(:<:, :Int64, :Int)) ERROR: unsupported or misplaced expression <: We should probably consider erroring out when printing invalid expressions. Regards Ivar kl. 11:05:34 UTC+2 tirsdag 21. oktober 2014 skrev Mauro følgende: > > This seems a bit confusing: > > ``` > julia> Expr(:<:, :X, :Int) > :(X<:Int) > > julia> Expr(:<:, :X, :Int).head > :<: > > julia> :(X<:Int) > :(X <: Int) > > julia> :(X<:Int).head > :comparison > ``` > > Is this intentional? This also means that copy-pasting the string > representation of `Expr(:<:, :X, :Int)` does not yield itself. >
