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

What is the type 'Method' and where is it defined?

$
0
0

The @which macro returns a mutable composite type Method. Is this documented anywhere and how do I find the source code for it? I guess it is part of the Julia internals since the usual ways of discovery fail.

m = @which length([1.0])
typeof(m)
@which Method
methods(Method)

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 2795

Latest Images

Trending Articles



Latest Images