Skip to content

Commit 5b95469

Browse files
sisoulpil
authored andcommitted
Update wording explaining Gt and Lt
Explain the abbreviations `Gt` and `Lt` with the actual words they abbreviate ("greater than" and "lower than" respectively).
1 parent 600595e commit 5b95469

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/concept/weather-ranking/.docs/introduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ pub type Order {
3030

3131
The type has three variants, each used to represent the relationship between value and another value:
3232

33-
- `Gt` - the value is _larger_ than the other value.
33+
- `Gt` - the value is _greater than_ the other value.
3434
- `Eq` - the value is _equal_ to the other value.
35-
- `Lt` - the value is _smaller_ than the other value.
35+
- `Lt` - the value is _lower than_ the other value.
3636

3737
If a data type can be compared by size it is common for the module to define a `compare` function which returns an `Order` value. For example, `gleam/float` and `gleam/int` define `compare` functions that operate on floats and ints respectively.
3838

0 commit comments

Comments
 (0)