Have you imported Lexicon at the REPL before trying to use the help mode? julia> using Lexicon julia> using DocThis help?> AThing
- Mike On Friday, 19 June 2015 15:29:11 UTC+2, NotSoRecentConvert wrote: > > This is still not working for me. > > Julia 0.3.8 > Linux x86_64 > Latest Docile and Lexicon > > module DocThis > > using Docile > @docstrings > > export AThing, addfive > > @doc """ > This type defines a thing, which is a thing. Here's some code, declared by > indenting: > > ay = AThing(5) > bee = AThing(3.14) > > So that's that. > """ -> > type AThing > bee > end > > @doc """ > Adds five. Just like that. > """ -> > function addfive(x::Number) > return x + 5. > end > > > end #module > > > julia> using DocThis > help?> AThing > DataType : AThing (constructor with 1 method) > > supertype: Any > > fields : (:bee,) > > I've included the new line at the end of the module. What is still wrong? > > > > >
