summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdam Bard <github@adambard.com>2016-02-26 14:55:57 -0800
committerAdam Bard <github@adambard.com>2016-02-26 14:55:57 -0800
commit02b46ecf4003c38a675041c3fd30fbd9dfedd7ca (patch)
tree966b733000706c36598dc328d9b85ab9fb81dac4
parenta11b3ec0dd3b72ef734a72b5ca088d58ec7af1a6 (diff)
parent9de59a839695c281d02a4154b9b4cd52b911e0a7 (diff)
Merge pull request #2160 from JacobCWard/patch-8
[julia/en] fix typos
-rw-r--r--julia.html.markdown4
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)