From 1aa782ae22aa55d44ba4ed01ad447915dc7802cb Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Tue, 23 Jan 2024 14:41:22 +0000 Subject: Add equality lesson --- src/content/chapter0_basics/lesson09_bools/text.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/content/chapter0_basics/lesson09_bools/text.html (limited to 'src/content/chapter0_basics/lesson09_bools/text.html') diff --git a/src/content/chapter0_basics/lesson09_bools/text.html b/src/content/chapter0_basics/lesson09_bools/text.html new file mode 100644 index 0000000..3f60743 --- /dev/null +++ b/src/content/chapter0_basics/lesson09_bools/text.html @@ -0,0 +1,17 @@ +

+ A Bool is a either True or False. +

+

+ The ||, &&, and ! operators can be used + to manipulate bools. +

+

+ The || and && operators are short-circuiting, + meaning that if the left hand side of the operator is True for + || or False for && then the right hand + side of the operator will not be evaluated. +

+

+ The gleam/bool + standard library module contains functions for working with bools. +

-- cgit v1.2.3