summaryrefslogtreecommitdiffhomepage
path: root/nim.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'nim.html.markdown')
-rw-r--r--nim.html.markdown6
1 files changed, 3 insertions, 3 deletions
diff --git a/nim.html.markdown b/nim.html.markdown
index 1e17d8f0..81662630 100644
--- a/nim.html.markdown
+++ b/nim.html.markdown
@@ -3,7 +3,7 @@ language: Nim
filename: learnNim.nim
contributors:
- ["Jason J. Ayala P.", "http://JasonAyala.com"]
- - ["Dennis Felsing", "http://felsin9.de/nnis/"]
+ - ["Dennis Felsing", "https://dennis.felsing.org"]
---
Nim (formerly Nimrod) is a statically typed, imperative programming language
@@ -28,7 +28,7 @@ Or for unparsable, broken code
var # Declare (and assign) variables,
letter: char = 'n' # with or without type annotations
lang = "N" & "im"
- nLength : int = len(lang)
+ nLength: int = len(lang)
boat: float
truth: bool = false
@@ -142,7 +142,7 @@ when compileBadCode:
# Arrays
type
- RollCounter = array[DieFaces, int] # Array's are fixed length and
+ RollCounter = array[DieFaces, int] # Arrays are fixed length and
DirNames = array[Direction, string] # indexed by any ordinal type.
Truths = array[42..44, bool]
var