From 7d30b9a5e50676881e47fb3ee87b65db4b020493 Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Thu, 18 Jan 2024 19:55:18 +0000 Subject: [PATCH] Remove ` --- .../chapter0_basics/lesson01_hello_world/text.html | 11 ++++++----- .../chapter0_basics/lesson05_floats/text.html | 13 +++++++------ .../lesson10_deprecations/text.html | 3 ++- .../lesson02_variable_patterns/text.html | 5 +++-- 4 files changed, 18 insertions(+), 14 deletions(-) diff --git a/src/content/chapter0_basics/lesson01_hello_world/text.html b/src/content/chapter0_basics/lesson01_hello_world/text.html index 8e2033a..ec4fb10 100644 --- a/src/content/chapter0_basics/lesson01_hello_world/text.html +++ b/src/content/chapter0_basics/lesson01_hello_world/text.html @@ -1,9 +1,10 @@ +

Here is a program that prints out the text "Hello, Joe!".

- Here is a program that prints out the text "Hello, Joe!". -

-

- It does this by using the `println` function which has been imported from the - gleam/io + It does this by using the println function which has been + imported from the + gleam/io module, which is part of the Gleam standard library.

diff --git a/src/content/chapter0_basics/lesson05_floats/text.html b/src/content/chapter0_basics/lesson05_floats/text.html index 497bb13..cc993c4 100644 --- a/src/content/chapter0_basics/lesson05_floats/text.html +++ b/src/content/chapter0_basics/lesson05_floats/text.html @@ -1,8 +1,7 @@ +

Gleam's Float type represents numbers that are not integers.

- Gleam's Float type represents numbers that are not integers. -

-

- Unlike many languages Gleam does not have a `NaN` or `Infinity` float value. + Unlike many languages Gleam does not have a NaN or + Infinity float value.

Gleam's numerical operators are not overloaded, so there are dedictated @@ -13,7 +12,9 @@ JavaScript runtimes.

- The gleam/float + The + gleam/float standard library module contains functions for working with floats.

- diff --git a/src/content/chapter1_functions/lesson10_deprecations/text.html b/src/content/chapter1_functions/lesson10_deprecations/text.html index 0d83ef7..5ea776f 100644 --- a/src/content/chapter1_functions/lesson10_deprecations/text.html +++ b/src/content/chapter1_functions/lesson10_deprecations/text.html @@ -1,6 +1,7 @@

Functions and other definitions can be marked as deprecated using the - `@deprecated` attribute. + @deprecated + attribute.

If a deprecated function is reference the compiler will emit a warning, diff --git a/src/content/chapter2_flow_control/lesson02_variable_patterns/text.html b/src/content/chapter2_flow_control/lesson02_variable_patterns/text.html index 8154979..b3e4000 100644 --- a/src/content/chapter2_flow_control/lesson02_variable_patterns/text.html +++ b/src/content/chapter2_flow_control/lesson02_variable_patterns/text.html @@ -1,7 +1,8 @@

The case expression is the most common kind of flow control in Gleam code. It - is similar to `switch` in some other languages, but more powerful than most. -

+ is similar to switch in some other languages, but more powerful + than most. +

It allows the programmer to say "if the data has this shape then run this code", a process called called pattern matching.