Skip to content

Commit

Permalink
more typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
natj committed May 13, 2018
1 parent cd21970 commit 521bbeb
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 36 deletions.
5 changes: 4 additions & 1 deletion notebooks/00_intro-to-julia.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@
"## Open source\n",
"Julia is open source, developed now by a community. \n",
"\n",
"Lisenced under MIT license. "
"Licensed under MIT license. \n",
"- open and permissive license\n",
"\n",
"This means it *is* and *will be* open source."
]
},
{
Expand Down
22 changes: 13 additions & 9 deletions notebooks/01_basics.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
"## Variables and data types\n",
"Julia allows to write generic code, and 😺 is an example of this. \n",
"\n",
"In julia variable names \n",
"In Julia variable names \n",
"- may contain letters, numbers, underscores or exclamation marks.\n",
"- start with a letter or underscores (but not with a number!)\n",
"- are case sensitive\n",
Expand All @@ -219,7 +219,7 @@
},
"source": [
"## Special characters\n",
"Julia supports many special characthers familiar from `LaTeX`. Just try common names such as `\\alpha` and press `<TAB>` to complete. \n",
"Julia supports many special characters familiar from `LaTeX`. Just try common names such as `\\alpha` and press `<TAB>` to complete. \n",
"\n",
"If the name is not familiar to you, just copy the character and use the `?` to probe what it is."
]
Expand Down Expand Up @@ -359,16 +359,20 @@
},
"source": [
"# Data types\n",
"\n",
"- `Bool`: is a data type that can be either `true` or `false`.\n",
"### Primitive types\n",
"- Numeric types, that represent numbers\n",
" - `Number`\n",
" - `Real`\n",
" - `Integer` (`Int16`, `Int32`,...)\n",
" - `Signed` and `Unsigned`\n",
" - `AbstractFloat` (`Float16`, `Float32`,...)\n",
" - `complex` (`Complex{Int64}`,...) with `1 + 0.1im`\n",
" - `Real`\n",
" - `Integer` \n",
" - `Signed` and `Unsigned`\n",
" - `Int16`, `Int32`, `Int64`,..., `UInt64`\n",
" - `AbstractFloat` \n",
" - `Float16`, `Float32`,`Float64`,...\n",
"- Strings (`String`, `Char`,...)\n",
"- `Bool` is a data type that can be either `true` or `false`.\n",
"\n",
"### Composite types\n",
"- `complex` (`Complex{Int64}`,...) with `1 + 0.1im`\n",
"- Arrays (`Array{Int64,1}`,...)\n",
"- Mappings\n",
" - `Dict`: a dictionary, also called a hashmap (`Dict{String,Int64}`,...)\n",
Expand Down
26 changes: 1 addition & 25 deletions notebooks/02_control-flow.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"- conditional statements\n",
"- repeated evaluation\n",
" - `while` and `for`\n",
"- breaking\n",
"- breaking and continuing \n",
"\n",
"See also the [documentation](https://docs.julialang.org/en/stable/manual/control-flow/\n",
")"
Expand Down Expand Up @@ -175,30 +175,6 @@
"false || true"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"slideshow": {
"slide_type": "fragment"
}
},
"outputs": [
{
"data": {
"text/plain": [
"true"
]
},
"execution_count": 1,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"0 < 0.5 < 1"
]
},
{
"cell_type": "markdown",
"metadata": {
Expand Down
2 changes: 1 addition & 1 deletion notebooks/03_functions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@
}
},
"source": [
"## Macro incovation\n",
"## Macro invocation\n",
"Macros are invoked with the following general syntax:\n",
"```julia\n",
"@name expr1 expr2 ...\n",
Expand Down

0 comments on commit 521bbeb

Please sign in to comment.