We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Note the difference between v0.4.0-rc1 and master (at the end):
v0.4.0-rc1:
_ _ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_) | Documentation: http://docs.julialang.org _ _ _| |_ __ _ | Type "?help" for help. | | | | | | |/ _` | | | | |_| | | | (_| | | Version 0.4.0-rc1 (2015-09-09 16:07 UTC) _/ |\__'_|_|_|\__'_| | Official http://julialang.org/ release |__/ | x86_64-apple-darwin13.4.0 julia> module Foos type Foo end @doc """ Maps a Foo just for you. """ -> Base.map(::Foo) = nothing end # module Foos Foos julia> using Foos help?> map search: map map! mapfoldr mapfoldl mapslices mapreduce mapreducedim pmap mmap Mmap mmap_array mmap_bitarray cartesianmap macroexpand promote_shape .. map(f, c...) -> collection Transform collection ``c`` by applying ``f`` to each element. For multiple collection arguments, apply ``f`` elementwise. .. doctest:: julia> map((x) -> x * 2, [1, 2, 3]) 3-element Array{Int64,1}: 2 4 6 julia> map(+, [1, 2, 3], [10, 20, 30]) 3-element Array{Int64,1}: 11 22 33
master:
_ _ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_) | Documentation: http://docs.julialang.org _ _ _| |_ __ _ | Type "?help" for help. | | | | | | |/ _` | | | | |_| | | | (_| | | Version 0.5.0-dev+180 (2015-09-14 20:14 UTC) _/ |\__'_|_|_|\__'_| | Commit dbe775c (0 days old master) |__/ | x86_64-apple-darwin14.4.0 julia> module Foos type Foo end @doc """ Maps a Foo just for you. """ -> Base.map(::Foo) = nothing end # module Foos Foos julia> using Foos help?> map search: map map! mapfoldr mapfoldl mapslices mapreduce mapreducedim pmap mmap Mmap mmap_array mmap_bitarray cartesianmap macroexpand promote_shape map(f, c...) -> collection Transform collection c by applying f to each element. For multiple collection arguments, apply f elementwise. julia> map((x) -> x * 2, [1, 2, 3]) 3-element Array{Int64,1}: 2 4 6 julia> map(+, [1, 2, 3], [10, 20, 30]) 3-element Array{Int64,1}: 11 22 33 Maps a Foo just for you.
The text was updated successfully, but these errors were encountered:
Dup of #13068, fixed in #13070. It's been backported, could you check the latest 0.4-rc?
Sorry, something went wrong.
The latest 0.4-rc works. Thank you!
No branches or pull requests
Note the difference between v0.4.0-rc1 and master (at the end):
v0.4.0-rc1:
master:
The text was updated successfully, but these errors were encountered: