You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia>map(ones(3)) do x
x
end3-element Vector{Float64}:1.01.01.0
julia>map.(ones(3)) do x
x
end
ERROR: ParseError:# Error @ REPL[5]:1:14map.(ones(3)) do x
# └───┘ ── extra tokens after end of expression
Stacktrace:
[1] top-level scope
@ none:1
Julia Version 1.10.2
Commit bd47eca2c8 (2024-03-0110:14 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU:12×Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
WORD_SIZE:64
LIBM: libopenlibm
LLVM: libLLVM-15.0.7 (ORCJIT, skylake)
Threads:12 default, 2 interactive, 7 GC (on 12 virtual cores)
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: