You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exercises/concept/weather-ranking/.docs/introduction.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,9 +30,9 @@ pub type Order {
30
30
31
31
The type has three variants, each used to represent the relationship between value and another value:
32
32
33
-
-`Gt` - the value is _larger_ than the other value.
33
+
-`Gt` - the value is _greater than_ the other value.
34
34
-`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.
36
36
37
37
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.
0 commit comments