Skip to content

Commit

Permalink
(gleam-for-elm-users) Typo on paragraph about operators
Browse files Browse the repository at this point in the history
"as" should be "are"
  • Loading branch information
korokd authored and lpil committed May 29, 2024
1 parent 9ff85e8 commit c03e412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cheatsheets/gleam-for-elm-users.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ Elm has a built-in `number` concept that allows it to treat `Int` and `Float` ge

#### Gleam

Operators in Gleam as not generic over `Int` and `Float` so there are separate symbols for `Int` and `Float` operations. For example, `+` adds integers together whilst `+.` adds floats together. The pattern of the additional `.` extends to the other common operators.
Operators in Gleam are not generic over `Int` and `Float` so there are separate symbols for `Int` and `Float` operations. For example, `+` adds integers together whilst `+.` adds floats together. The pattern of the additional `.` extends to the other common operators.

Additionally, underscores can be added to both integers and floats for clarity.

Expand Down

0 comments on commit c03e412

Please sign in to comment.