Given this:

```
julia> mat = [1 2; 3.0 4.0; 5 6.0; "seven" "eight"; :nine :ten]
4×2 Array{Any,2}:
1 2
3.0 4.0
5 6.0
"seven" "eight"
:nine :ten
julia> typeof(mat[1,1])
Int64
julia> typeof(mat[2,1])
Float64
julia> typeof(mat[1,:])
Array{Any,1}
julia> typeof(mat[2,:])
Array{Any,1}
```

Is there a built-in function somewhere, let’s call it `typeinfer()`

, that can do this?

```
julia> typeinfer(mat[1,:])
Array{Int64,1}
julia> typeinfer(mat[2,:])
Array{Float64,1}
julia> typeinfer(mat[3,:])
Array{Float64,1}
julia> typeinfer(mat[4,:])
Array{String,1}
julia> typeinfer(mat[5,:])
Array{Symbol,1}
```

Or do I have to roll my own?