Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
… importall, in and where are not keywords (the first does not exist in 1.0 and the other two are operators), but true and false are keywords. Table updated.
  • Loading branch information
ninjaaron committed Mar 23, 2019
1 parent 6b88473 commit 7f9148c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions book/src/chap02.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ It turns out that +struct+ is one of Julia’s _keywords_. The REPL uses keyword
Julia has these keywords:

----
abstract type baremodule begin break catch
const continue do else elseif
end export finally for function
global if import importall in
let local macro module mutable struct
primitive type quote return try using
struct where while
abstract type baremodule begin break catch
const continue do else elseif
end export false finally for
function global if import let
local macro module mutable struct primitive type
quote return true using struct
while
----

You don’t have to memorize this list. In most development environments, keywords are displayed in a different color; if you try to use one as a variable name, you’ll know.
Expand Down

0 comments on commit 7f9148c

Please sign in to comment.