summaryrefslogtreecommitdiffhomepage
path: root/julia.html.markdown
diff options
context:
space:
mode:
authorNami-Doc <vendethiel@hotmail.fr>2013-12-03 14:40:05 +0100
committerNami-Doc <vendethiel@hotmail.fr>2013-12-03 14:40:05 +0100
commit3bc960034c867fd4255db3f80ddbe6f85901647b (patch)
treec2280d5f14496e3e2a470e189f1f81d15d9f9167 /julia.html.markdown
parentdb072899ff7b2f3b27e884ffdf5fc6801de946af (diff)
typos
Diffstat (limited to 'julia.html.markdown')
-rw-r--r--julia.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/julia.html.markdown b/julia.html.markdown
index d05e165d..d1e17a26 100644
--- a/julia.html.markdown
+++ b/julia.html.markdown
@@ -357,7 +357,7 @@ end
# 2
# 3
-# Handle exceptions with a try/except block
+# Handle exceptions with a try/catch block
try
error("help")
catch e
@@ -402,7 +402,7 @@ Set([1,2,3]...) #=> Set{Int64}(1,2,3) # this is equivalent to Set(1,2,3)
x = (1,2,3) #=> (1,2,3)
Set(x) #=> Set{(Int64,Int64,Int64)}((1,2,3)) # a Set of Tuples
-Set(x...) #=> Set{Int64}(1,2,3)
+Set(x...) #=> Set{Int64}(2,3,1)
# You can define functions with optional positional arguments