Skip to content

Instantly share code, notes, and snippets.

@mbauman
Last active October 12, 2017 17:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbauman/818c946338ac8e1e4fc7183d5e8c1151 to your computer and use it in GitHub Desktop.
Save mbauman/818c946338ac8e1e4fc7183d5e8c1151 to your computer and use it in GitHub Desktop.
julia> VERSION
v"0.7.0-DEV.2114"
julia> methodswith(Function)
[1] guardsrand(f::Function) in Test at /Users/mbauman/Code/julia-0.6/usr/share/julia/site/v0.7/Test/src/Test.jl:1429
[2] guardsrand(f::Function, r::AbstractRNG) in Test at /Users/mbauman/Code/julia-0.6/usr/share/julia/site/v0.7/Test/src/Test.jl:1429
[3] guardsrand(f::Function, seed::Integer) in Test at /Users/mbauman/Code/julia-0.6/usr/share/julia/site/v0.7/Test/src/Test.jl:1439
[4] !(f::Function) in Base at operators.jl:975
[5] all(f::Function, A::AbstractArray, region) in Base at reducedim.jl:619
[6] all!(f::Function, r::AbstractArray, A::AbstractArray) in Base at reducedim.jl:615
[7] any(f::Function, A::AbstractArray, region) in Base at reducedim.jl:619
[8] any!(f::Function, r::AbstractArray, A::AbstractArray) in Base at reducedim.jl:615
[9] atexit(f::Function) in Base at initdefs.jl:108
[10] atreplinit(f::Function) in Base at client.jl:371
[11] base64encode(f::Function, args...) in Base.Base64 at base64.jl:196
[12] cd(f::Function) in Base.Filesystem at file.jl:82
[13] cd(f::Function, dir::AbstractString) in Base.Filesystem at file.jl:66
[14] contains(eq::Function, itr, x) in Base at deprecated.jl:55
[15] count(f::Function, walker::Base.LibGit2.GitRevWalker) in Base.LibGit2 at libgit2/walker.jl:165
[16] disable_sigint(f::Function) in Base at c.jl:363
[17] find(testf::Function, x::Number) in Base at array.jl:1903
[18] find(p::Function, S::SparseMatrixCSC) in Base.SparseArrays at sparse/sparsematrix.jl:1263
[19] find(p::Function, x::SparseVector{#s332,Ti} where #s332) where Ti in Base.SparseArrays at sparse/sparsevector.jl:660
[20] find(testf::Function, A) in Base at array.jl:1847
[21] findfirst(testf::Function, A) in Base at array.jl:1701
[22] findlast(testf::Function, A) in Base at array.jl:1813
[23] findnext(testf::Function, B::BitArray, start::Integer) in Base at bitarray.jl:1567
[24] findnext(testf::Function, A, start::Integer) in Base at array.jl:1667
[25] findprev(testf::Function, B::BitArray, start::Integer) in Base at bitarray.jl:1637
[26] findprev(testf::Function, A, start::Integer) in Base at array.jl:1785
[27] functionloc(f::Union{Function, Type}) in Main at /Users/mbauman/.juliarc.jl:38
[28] get(default::Union{Function, Type}, h::Dict{K,V}, key) where {K, V} in Base at dict.jl:568
[29] get(f::Union{Function, Type}, ::Base.EnvHash, k::AbstractString) in Base at env.jl:80
[30] get(default::Union{Function, Type}, wkh::WeakKeyDict{K,V} where V, key) where K in Base at weakkeydict.jl:108
[31] get!(default::Union{Function, Type}, h::Dict{K,V}, key::K) where {K, V} in Base at dict.jl:493
[32] get!(default::Union{Function, Type}, h::Dict{K,V}, key0) where {K, V} in Base at dict.jl:485
[33] get!(default::Union{Function, Type}, wkh::WeakKeyDict{K,V} where V, key) where K in Base at weakkeydict.jl:110
[34] getaddrinfo(callback::Function, host::AbstractString) in Base at deprecated.jl:1838
[35] map(f::Function, bi::Base.LibGit2.GitBranchIter) in Base.LibGit2 at libgit2/reference.jl:336
[36] map(f::Function, walker::Base.LibGit2.GitRevWalker) in Base.LibGit2 at libgit2/walker.jl:114
[37] maximum(f::Union{Function, Type}, a) in Base at reduce.jl:444
[38] maximum(f::Function, A::AbstractArray, region) in Base at reducedim.jl:619
[39] maximum!(f::Function, r::AbstractArray, A::AbstractArray) in Base at reducedim.jl:615
[40] mean(f::Union{Function, Type}, A::AbstractArray) in Base at statistics.jl:35
[41] mean(f::Union{Function, Type}, iterable) in Base at statistics.jl:19
[42] merge(combine::Function, d::Associative, others::Associative...) in Base at associative.jl:318
[43] merge!(combine::Function, d::Associative, others::Associative...) in Base at associative.jl:208
[44] methodswith(t::Type, f::Function) in Base at interactiveutil.jl:574
[45] methodswith(t::Type, f::Function, showparents::Bool) in Base at interactiveutil.jl:574
[46] methodswith(t::Type, f::Function, showparents::Bool, meths) in Base at interactiveutil.jl:574
[47] minimum(f::Union{Function, Type}, a) in Base at reduce.jl:445
[48] minimum(f::Function, A::AbstractArray, region) in Base at reducedim.jl:619
[49] minimum!(f::Function, r::AbstractArray, A::AbstractArray) in Base at reducedim.jl:615
[50] mktemp(fn::Function) in Base.Filesystem at file.jl:374
[51] mktemp(fn::Function, parent) in Base.Filesystem at file.jl:374
[52] mktempdir(fn::Function) in Base.Filesystem at file.jl:390
[53] mktempdir(fn::Function, parent) in Base.Filesystem at file.jl:390
[54] open(f::Function, cmds::Base.AbstractCmd, args...) in Base at process.jl:623
[55] open(f::Function, args...) in Base at iostream.jl:192
[56] prod(f::Union{Function, Type}, a) in Base at reduce.jl:411
[57] prod(f::Function, A::AbstractArray, region) in Base at reducedim.jl:619
[58] prod!(f::Function, r::AbstractArray, A::AbstractArray) in Base at reducedim.jl:615
[59] redirect_stderr(f::Function, stream) in Base at stream.jl:1082
[60] redirect_stdin(f::Function, stream) in Base at stream.jl:1082
[61] redirect_stdout(f::Function, stream) in Base at stream.jl:1082
[62] reenable_sigint(f::Function) in Base at c.jl:377
[63] retry(f::Function) in Base at error.jl:175
[64] setprecision(f::Function, ::Type{T}, prec::Integer) where T in Base.MPFR at mpfr.jl:886
[65] setprecision(f::Function, precision::Integer) in Base.MPFR at mpfr.jl:895
[66] setrounding(f::Function, ::Type{T}, rounding::RoundingMode) where T in Base.Rounding at rounding.jl:184
[67] show(io::IO, f::Function) in Base at show.jl:173
[68] show(io::IO, ::MIME{Symbol("text/plain")}, f::Function) in Base at replutil.jl:98
[69] sparse(I, J, v::Number, m, n, combine::Function) in Base.SparseArrays at sparse/sparsematrix.jl:718
[70] sparsevec(I::AbstractArray{#s332,1} where #s332<:Integer, V::AbstractArray{T,1} where T, combine::Function) in Base.SparseArrays at sparse/sparsevector.jl:154
[71] sparsevec(I::AbstractArray{#s332,1} where #s332<:Integer, V::AbstractArray{T,1} where T, len::Integer, combine::Function) in Base.SparseArrays at sparse/sparsevector.jl:167
[72] sparsevec(I::AbstractArray{T,1} where T, v::Number, combine::Function) in Base.SparseArrays at sparse/sparsevector.jl:190
[73] sparsevec(I::AbstractArray{T,1} where T, v::Number, len::Integer, combine::Function) in Base.SparseArrays at sparse/sparsevector.jl:193
[74] sprand(r::AbstractRNG, m::Integer, n::Integer, density::AbstractFloat, rfn::Function) in Base.SparseArrays at sparse/sparsematrix.jl:1386
[75] sprand(r::AbstractRNG, m::Integer, n::Integer, density::AbstractFloat, rfn::Function, ::Type{T}) where T in Base.SparseArrays at sparse/sparsematrix.jl:1386
[76] sprand(m::Integer, n::Integer, density::AbstractFloat, rfn::Function) in Base.SparseArrays at sparse/sparsematrix.jl:1396
[77] sprand(m::Integer, n::Integer, density::AbstractFloat, rfn::Function, ::Type{T}) where T in Base.SparseArrays at sparse/sparsematrix.jl:1396
[78] sprand(n::Integer, p::AbstractFloat, rfn::Function) in Base.SparseArrays at sparse/sparsevector.jl:459
[79] sprand(n::Integer, p::AbstractFloat, rfn::Function, ::Type{T}) where T in Base.SparseArrays at sparse/sparsevector.jl:452
[80] sprand(r::AbstractRNG, n::Integer, p::AbstractFloat, rfn::Function) in Base.SparseArrays at sparse/sparsevector.jl:461
[81] sprand(r::AbstractRNG, n::Integer, p::AbstractFloat, rfn::Function, ::Type{T}) where T in Base.SparseArrays at sparse/sparsevector.jl:454
[82] sprint(size::Integer, f::Function, args...) in Base at strings/io.jl:73
[83] sprint(f::Function, args...) in Base at strings/io.jl:97
[84] sum(f::Union{Function, Type}, a) in Base at reduce.jl:353
[85] sum(f::Function, A::AbstractArray, region) in Base at reducedim.jl:619
[86] sum!(f::Function, r::AbstractArray, A::AbstractArray) in Base at reducedim.jl:615
[87] task_local_storage(body::Function, key, val) in Base at task.jl:163
[88] timedwait(testcb::Function, secs::Float64) in Base at task.jl:347
[89] timedwait(testcb::Function, time::Base.Dates.Period) in Base.Dates at dates/types.jl:355
[90] unique(f::Union{Function, Type}, C) in Base at set.jl:317
[91] withenv(f::Function) in Base at env.jl:165
[92] withenv(f::Function, keyvals::Pair{T,B} where B...) where T<:AbstractString in Base at env.jl:153
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment