Quantcast
Channel: First steps - JuliaLang
Viewing all articles
Browse latest Browse all 2795

An object which is Tuple, but not an NTuple{N, Any}

$
0
0

@ravi.joshi wrote:

In Julia, is it possible to have an object, which is a Tuple, but not an NTuple{N, Any}?
I am thinking about this because, in the Iterators module, there are different method dispatches for NTuple and Tuple object for the function flatten_iteratorsize.


From what I understand, NTuple{N, Any} and Tuple are just aliases. Am I correct?

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 2795

Trending Articles