diff options
author | Jacob Ward <jacobward1898@gmail.com> | 2016-02-25 21:45:55 -0700 |
---|---|---|
committer | Jacob Ward <jacobward1898@gmail.com> | 2016-02-25 21:45:55 -0700 |
commit | 9de59a839695c281d02a4154b9b4cd52b911e0a7 (patch) | |
tree | 463e25422ff3abd24e507b36a38079d63d51420c /julia.html.markdown | |
parent | 3e429e86b2a98e34131f5a0e743ed90f4d30fda6 (diff) |
[julia/en] fix typos
dimentional -> dimensional
fuction -> function
Diffstat (limited to 'julia.html.markdown')
-rw-r--r-- | julia.html.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/julia.html.markdown b/julia.html.markdown index 2810555e..db72e8ba 100644 --- a/julia.html.markdown +++ b/julia.html.markdown @@ -155,7 +155,7 @@ b = [4; 5; 6] # => 3-element Int64 Array: [4, 5, 6] b[1] # => 4 b[end] # => 6 -# 2-dimentional arrays use space-separated values and semicolon-separated rows. +# 2-dimensional arrays use space-separated values and semicolon-separated rows. matrix = [1 2; 3 4] # => 2x2 Int64 Array: [1 2; 3 4] # Arrays of a particular Type @@ -420,7 +420,7 @@ varargs(1,2,3) # => (1,2,3) # The ... is called a splat. # We just used it in a function definition. -# It can also be used in a fuction call, +# It can also be used in a function call, # where it will splat an Array or Tuple's contents into the argument list. Set([1,2,3]) # => Set{Array{Int64,1}}([1,2,3]) # produces a Set of Arrays Set([1,2,3]...) # => Set{Int64}(1,2,3) # this is equivalent to Set(1,2,3) |