julia> struct A{T}
a::T
end
julia> simpletypename1(x::F) where F = string(F);
julia> @assert simpletypename1(A(3)) === "A" # Fails, as type is A{Int64}
julia> simpletypename2(x::F) where F = string(F.name); # Yeah I know, not a good idea...
julia> @assert simpletypename2(A(3)) === "A" # Works in 1.5 but fails in 1.6; prints "typename(A)"
julia> simpletypename3(x::F) where F = string(F.name.name); # Ugh...
julia> @assert simpletypename3(A(3)) === "A" # Phyrric victory...
Regex/split is ofc an option but I’m thinking there is a better way.