6. It is not currently possible to add documentation to the help system, but I am currently working on precisely this problem. Here is a link to the issue on that topic, and my pre-alpha module that tries to address that issue, as well the issue of manual-style documentation (similar to Perl's POD system).
https://github.com/JuliaLang/julia/issues/3988 https://github.com/dcarrera/JDoc.jl Cheers, Daniel. On Monday, 13 January 2014 03:39:35 UTC+1, Andy M wrote: > > I've been following and experimenting with Julia for a little while now, > and I have encountered questions that I haven't managed to answer by > reading or googling. An answer to any of them would be greatly appreciated. > > 1. Is there any way to retrieve the location of the definition of a > variable or a type? I know I can use @which to find method definitions, but > that's all I know how to find. > > 2. Are tuples are less memory efficient than immutable composite types? If > so, why is this? I got the impression that they are after reading various > different articles and comments, so maybe I have just misunderstood > something. > > 3. Why is Julia's memory usage so high? When I open the interpreter (in > linux) it stabilises around 90MB. If I call Pkg.installed(), it jumps to > 165MB, and stays there. Calling gc() doesn't reduce it either. Is it an > inevitable consequence of the language's design? Or perhaps an issue that > is being worked on? Or is it just not that important to the language's > target users? > > 4. The documentation suggests that "type Blah; a; end" is less efficient > than "type Blah{A}; a::A; end". If so, why does the former not default to > the behaviour of the latter? Is it to avoid excess code generation? Or > perhaps the latter representation has some undesirable behaviour? > > 5. Is it currently possible to pass a struct to a C function? I found > documentation saying that it isn't possible, but there are github issues > which suggest the problem has been worked on. > > 6. Is there a way to document a function, method, type, variable or > module, such that the documentation can be retrieved in the interpreter? I > mean something like javadocs or python docstrings. If not, is something > like this going to be added? > > Sorry for asking so many questions all at once. I am considering starting > quite a big project in Julia, and I think my timezone has made it difficult > to find help in the IRC channel. >
