aboutsummaryrefslogtreecommitdiff
path: root/lessons/src/lesson004_ints/text.html
diff options
context:
space:
mode:
Diffstat (limited to 'lessons/src/lesson004_ints/text.html')
-rw-r--r--lessons/src/lesson004_ints/text.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/lessons/src/lesson004_ints/text.html b/lessons/src/lesson004_ints/text.html
index f5222ee..32a7aa8 100644
--- a/lessons/src/lesson004_ints/text.html
+++ b/lessons/src/lesson004_ints/text.html
@@ -1,2 +1,15 @@
<p>
+ Gleam's <code>Int</code> type represents whole numbers.
+</p>
+<p>
+ There are arithmetic and comparison operators for ints.
+</p>
+<p>
+ When running on the Erlang virtual machine ints have no maximum and minimum
+ size. When running on JavaScript runtimes ints are represented using
+ JavaScript's 64 bit floating point numbers,
+</p>
+<p>
+ The <a href="https://hexdocs.pm/gleam_stdlib/gleam/int.html"><code>gleam/int</code></a>
+ standard library module contains functions for working with ints.
</p>