Skip to content

Commit

Permalink
(gleam-for-elm-users) Mismatch on Modules code examples
Browse files Browse the repository at this point in the history
The Elm code example was using `Foo` for the module's name,
while the Gleam code example uses `one`
  • Loading branch information
korokd authored and lpil committed May 29, 2024
1 parent 7fd05ad commit 5a74d6f
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 @@ -287,7 +287,7 @@ There is no performance cost to Gleam's labelled arguments as they are optimised
In Elm, the `module` keyword allows to create a module. Each module maps to a single file. The module name must be explicitly stated and must match the file name.

```elm
module Foo exposing (identity)
module One exposing (identity)

identity : a -> a
identity x =
Expand Down

0 comments on commit 5a74d6f

Please sign in to comment.