diff options
author | Alex Altair <alexanderaltair@gmail.com> | 2013-12-28 02:22:25 -0800 |
---|---|---|
committer | Alex Altair <alexanderaltair@gmail.com> | 2013-12-28 02:22:25 -0800 |
commit | e7dcbed40ddbbcad60dd43edd6fd372141a75077 (patch) | |
tree | f1b0127dcfd6bdb2c25bdaba2f7d04705bc8a648 /julia.html.markdown | |
parent | 8b051e0f99002bd4a2f94254a1d1c7081bf8fc89 (diff) |
Fix typos and indentation
Diffstat (limited to 'julia.html.markdown')
-rw-r--r-- | julia.html.markdown | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/julia.html.markdown b/julia.html.markdown index ce55f956..4b946d46 100644 --- a/julia.html.markdown +++ b/julia.html.markdown @@ -105,7 +105,7 @@ some_var #=> 5 # Accessing a previously unassigned variable is an error try - some_other_var #=> ERROR: some_other_var not defined + some_other_var #=> ERROR: some_other_var not defined catch e println(e) end @@ -417,7 +417,7 @@ try defaults('h') #=> ERROR: no method defaults(Char,) defaults() #=> ERROR: no methods defaults() catch e -println(e) + println(e) end # You can define functions that take keyword arguments @@ -509,7 +509,7 @@ type Tiger end # The default constructor's arguments are the properties -# of the tyep, in order the order they are listed in the definition +# of the type, in the order they are listed in the definition tigger = Tiger(3.5,"orange") #=> Tiger(3.5,"orange") # The type doubles as the constructor function for values of that type |