I know Tim, but honestly I don't feel knowledge'd enough to submit a doc improvement for a function that half an hour ago I could not even know how to make it work.
Joaquim terça-feira, 17 de Novembro de 2015 às 15:16:52 UTC, Tim Holy escreveu: > > On Tuesday, November 17, 2015 07:03:05 AM J Luis wrote: > > Yes, it works thanks. But man we are not supposed to be wizards when > > reading the docs. > > Submit a doc fix? > > https://github.com/JuliaLang/julia/blob/master/CONTRIBUTING.md#improving-documentation > > > --Tim > > > > > terça-feira, 17 de Novembro de 2015 às 14:36:39 UTC, randm...@gmail.com > > > > escreveu: > > > julia> find_library(["libgmt.dylib"],["/Users/j/programs/gmt5/lib"]) > > > > > > should do the trick. The docs at least imply that both arguments > should be > > > vectors -- for one because of the plural and locations is supposed to > be a > > > list. > > > > > > Am Dienstag, 17. November 2015 15:24:38 UTC+1 schrieb J Luis: > > >> The doc > > >> < > http://docs.julialang.org/en/release-0.4/stdlib/libdl/?highlight=libdl#L > > >> ibdl.find_library> > > >> > > >> julia> find_library("libgmt.dylib","/Users/j/programs/gmt5/lib") > > >> ERROR: MethodError: `find_library` has no method matching > > >> find_library(::ASCIIString, ::ASCIIString) > > >> you may have intended to import Base.find_library > > >> > > >> in find_library at deprecated.jl:32 > > >> > > >> julia> > Libdl.find_library("libgmt.dylib","/Users/j/programs/gmt5/lib") > > >> ERROR: MethodError: `find_library` has no method matching > > >> find_library(::ASCIIString, ::ASCIIString) > > >> you may have intended to import Base.find_library > > >> > > >> julia> Base.find_library("libgmt.dylib","/Users/j/programs/gmt5/lib") > > >> ERROR: MethodError: `find_library` has no method matching > > >> find_library(::ASCIIString, ::ASCIIString) > > >> you may have intended to import Base.find_library > > >> > > >> in find_library at deprecated.jl:32 > > >> > > >> julia> Libdl.find_library(libgmt.dylib,"/Users/j/programs/gmt5/lib") > > >> ERROR: UndefVarError: libgmt not defined > > >> > > >> (but it is there) > > >> > > >> Thanks > >