summaryrefslogtreecommitdiffhomepage
path: root/julia.html.markdown
diff options
context:
space:
mode:
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