aboutsummaryrefslogtreecommitdiff
path: root/lessons/src/lesson035_nil/text.html
diff options
context:
space:
mode:
authorLouis Pilfold <louis@lpil.uk>2023-12-21 14:03:41 +0000
committerLouis Pilfold <louis@lpil.uk>2023-12-21 14:03:41 +0000
commit4efb34bd728732101432843ed0bfbeb971272287 (patch)
tree71b3b767c417809d92280cec64424c31c9a475be /lessons/src/lesson035_nil/text.html
parent2a6ae1fa5408247c95bf4a7d59e5038342a2a125 (diff)
downloadtour-4efb34bd728732101432843ed0bfbeb971272287.tar.gz
tour-4efb34bd728732101432843ed0bfbeb971272287.zip
Add chapters
Diffstat (limited to 'lessons/src/lesson035_nil/text.html')
-rw-r--r--lessons/src/lesson035_nil/text.html15
1 files changed, 0 insertions, 15 deletions
diff --git a/lessons/src/lesson035_nil/text.html b/lessons/src/lesson035_nil/text.html
deleted file mode 100644
index 3416643..0000000
--- a/lessons/src/lesson035_nil/text.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<p>
- <code>Nil</code> is Gleam's unit type. It is a value that is returned by
- functions that have nothing else to return, as all functions much return
- something.
-</p>
-<p>
- <code>Nil</code> is not a valid value of any other types, that is values in
- Gleam are not nullable. If the type of a value is <code>Nil</code> then it is
- the value <code>nil</code>. If it is some other type then the value is not
- <code>Nil</code>.
-</p>
-<p>
- Uncomment the line that assigns <code>Nil</code> to a variable with an
- incompatible type annotation to see the comile time error it produces.
-</p>