From b32d26240c5c4c51c7df6b219c656fd11a862410 Mon Sep 17 00:00:00 2001 From: Adrian Lopez Date: Mon, 16 Dec 2013 18:41:44 +0100 Subject: Trying to set a value in index 0. Is confusing --- julia.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/julia.html.markdown b/julia.html.markdown index d1e17a26..4869e207 100644 --- a/julia.html.markdown +++ b/julia.html.markdown @@ -210,7 +210,7 @@ length(a) #=> 8 tup = (1, 2, 3) #=> (1,2,3) # an (Int64,Int64,Int64) tuple. tup[1] #=> 1 try: - tup[0] = 3 #=> ERROR: no method setindex!((Int64,Int64,Int64),Int64,Int64) + tup[1] = 3 #=> ERROR: no method setindex!((Int64,Int64,Int64),Int64,Int64) catch e println(e) end -- cgit v1.2.3