I have an instance of a parametric type, is there a canonical way to get
the parameter values?
For example I could have some Array{T, d} and want to know whether T is
Float64 and what its dimension is.
The only way of doing this I am aware of is writing code like:
dimension{T, dim}(arr::Array{T,
> I have an instance of a parametric type, is there a canonical way to get
> the parameter values?
> For example I could have some Array{T, d} and want to know whether T is
> Float64 and what its dimension is.
> The only way of doing this I am aware of is writing code like:
>
> dimension{T, dim}(ar