Skip to content

Commit

Permalink
Merge pull request #24 from ninjaaron/fixkeywords
Browse files Browse the repository at this point in the history
keyword table uptdated.
  • Loading branch information
BenLauwens authored May 9, 2023
2 parents 026e2ab + 7f9148c commit 09e6739
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 09e6739

Please sign in to comment.