From b3a992440c672afd7bc96b336f5c2ece6231166f Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Wed, 20 Dec 2023 19:12:38 +0000 Subject: Custom types --- lessons/src/lesson004_ints/text.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'lessons/src/lesson004_ints/text.html') diff --git a/lessons/src/lesson004_ints/text.html b/lessons/src/lesson004_ints/text.html index 32a7aa8..252496a 100644 --- a/lessons/src/lesson004_ints/text.html +++ b/lessons/src/lesson004_ints/text.html @@ -1,8 +1,7 @@ +

Gleam's Int type represents whole numbers.

- Gleam's Int type represents whole numbers. -

-

- There are arithmetic and comparison operators for ints. + There are arithmetic and comparison operators for ints, as well as the + equality operator which works on all types.

When running on the Erlang virtual machine ints have no maximum and minimum @@ -10,6 +9,9 @@ JavaScript's 64 bit floating point numbers,

- The gleam/int + The + gleam/int standard library module contains functions for working with ints.

-- cgit v1.2.3