(1) is basically https://github.com/JuliaLang/julia/issues/3377
(2)

> help?> AbstractString
> ERROR: AbstractString not defined


works for me, but the other parts might be caused by the method resolution
for edit not considering generic functions or constructors.  the last part
of the question is a (probably) missing method for convert; there is an
open thread about this.
(3) --int-literal will be removed.

On Wed, Jan 7, 2015 at 7:38 AM, Páll Haraldsson <[email protected]>
wrote:

>
> Hi,
>
> 1. If I do:
> help?> String
>
> that works (except see below) and:
>
> but:
> help?> @simd
> Symbol not found. Falling back on apropos search ...
> No help information found.
>
> I know this is defined (including in 0.3). I'm thinking sometimes I see in
> code say, @inbounds, or something and I wander what it does or even if it
> is just defined (might be only in 0.4). I assume the help system could at
> least show that as Julia must know that?! I could maybe help make it happen
> if I get some pointers where to start.
>
> also would be cool if I could do:
> less(@simd)
>
> [or edit(@simd) ]
>
> similar to non-macros (would that not work as these are macros and
> something would have to follow?), if that would work then when the help
> system finds nothing, possibly it could point out that at least it exists
> and/or an URL to the Julia doc (maybe to a search not directly to the right
> place).
>
>
> 2. I can to say;
> julia> edit(RopeString)
>
> but not (even though both are subtypes of String):
> julia> edit(GenericString)
> ERROR: GenericString not defined
>
> Why is that? I get a different error for (because it is abstact (and not
> the other?), still error could be improved):
> julia> edit(String)
> ERROR: could not find function definition
>  in functionlocs at reflection.jl:171
>  in edit at interactiveutil.jl:55
>
>
> help?> AbstractString
> ERROR: AbstractString not defined
>
> I assume this is new in 0.4 (renamed from String?) as I saw in another
> thread (that gives me an error in 0.3.4):
>
>
>
> julia> convert{T<:AbstractString}(::Type{T}, c::Char) = convert(T,
> string(c))
> ERROR: AbstractString not defined
>
>
> 3. Not too important (for me), but I thought I could fix a low priority
> bug I found and I thought a trivial one..:
>
> julia --int-literal=32
>
> help?> Array
> INFO: Loading help data...
> ERROR: type: arrayset: expected Int64, got Int32
>  in include at ./boot.jl:245
>  in include_from_node1 at ./loading.jl:128
>  in evalfile at loading.jl:168
>  in init_help at help.jl:41
>  in help at help.jl:91
>  in help at help.jl:169
>  in help at help.jl:183
> while loading /usr/share/julia/helpdb.jl, in expression starting on line 3
>
> Note I'm on 64-bit, and then nothing in help works with the switch.. I
> looked at the code and it seemed to be outside of Julia (in C or maybe
> FemtoLisp)? Maybe the bug wasn't as trivial as I thought so I skipped it.
>
> --
> Palli.
>
>

Reply via email to