Hi,
1.- I’m finding the use of type “Int” and “Type{Int}” in some articles and documents,
2.- also some functions reply “things” when I used “Int” likes argument … but not the same if I use Type{Int} likes argument …
3.- I can´t find the word “Int” likes a type in the Julia Tree types ( include using the famouse “function showtypetree(T, level=0)”.
Below there is some code to show the “type Int’ s show”
println("Excuse me, I would like to know what kind of type is 'Int' and if is the same of 'Type{Int}'" )
println(" ")
#
println("-Concrete Int? and Type{Int} ? ", isconcretetype(Int), " y ", isconcretetype(Type{Int}))
println("-Abstract Int? and Type{Int} ? ", isabstracttype(Int), " y ", isabstracttype(Type{Int}))
println(" .... then please tell me de typeof 'Int'... ",typeof(Int), " and de typeof Type{Int} ... ",typeof(Type{Int}))
println(" ")
#
println("- Does Int equal to ...? ")
println(" Integer, Int, BigInt, Int128, Int64, Int32, Int16, Int8")
for e in [Integer, Int, BigInt, Int128, Int64, Int32, Int16, Int8]
print(" ", isa(e,Int) )
end
println(" ")
println(" ")
println("- Does Type{Int} equal to ...?? ")
#println(" Integer, Int, BigInt, Int128, Int64, Int32, Int16, Int8")
println(" Integer, Int, BigInt, Int128, Int64, Int32, Int16, Int8")
for e in [Integer, Int, BigInt, Int128, Int64, Int32, Int16, Int8]
print(" ", isa(e,Type{Int}) )
end
println(" ")
println(" ")
println("- Subtypes of Int ? ")
#println(" Integer, Int, BigInt, Int128, Int64, Int32, Int16, Int8")
println(" Integer, Int, BigInt, Int128, Int64, Int32, Int16, Int8")
for e in [Integer, Int, BigInt, Int128, Int64, Int32, Int16, Int8]
print(" ", <:(e,Int) )
end
println(" ")
println(" ")
println("- Subtypes of Type{Int} ? ")
#println(" Integer, Int, BigInt, Int128, Int64, Int32, Int16, Int8")
println(" Integer, Int, BigInt, Int128, Int64, Int32, Int16, Int8")
for e in [Integer, Int, BigInt, Int128, Int64, Int32, Int16, Int8]
print(" ", <:(e,Type{Int}) )
end