From 7f9148c09809396fc7a3714572c7a830a16397e9 Mon Sep 17 00:00:00 2001 From: Aaron Christianson Date: Sat, 23 Mar 2019 07:33:34 +0100 Subject: [PATCH] According to https://docs.julialang.org/en/v1/base/base/#Keywords-1, 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. --- book/src/chap02.asciidoc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/book/src/chap02.asciidoc b/book/src/chap02.asciidoc index b55d46f..24169a1 100755 --- a/book/src/chap02.asciidoc +++ b/book/src/chap02.asciidoc @@ -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.