Skip to content

Commit bc11bda

Browse files
author
Daniel Němec
committed
Text fix
1 parent 518f7cd commit bc11bda

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

tutorials/09_elm-intro.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ Now, when we have our project ready, we can create some modules. A module has a
236236

237237
module Lib.Math exposing (linear)
238238

239-
240239
linear a b x =
241240
a * x + b
242241
```
@@ -246,7 +245,6 @@ We can import the module to other modules or the repl using `import` statement.
246245
```elm
247246
import Lib.Math
248247

249-
250248
linearResult =
251249
Lib.Math.linear 5 3 7 -- 38
252250
```
@@ -256,7 +254,6 @@ We can also expose some expression and then use them without the full module nam
256254
```elm
257255
import Lib.Math exposing (linear)
258256

259-
260257
linearResult =
261258
linear 5 3 7 -- 38
262259
```
@@ -266,7 +263,6 @@ Or we can expose everything from the module.
266263
```elm
267264
import Lib.Math exposing (..)
268265

269-
270266
linearResult =
271267
Lib.Math.linear 5 3 7 -- 38
272268
```
@@ -276,7 +272,6 @@ Or we can import a module with a different name.
276272
```elm
277273
import Lib.Math as Math
278274

279-
280275
linearResult =
281276
Math.linear 5 3 7 -- 38
282277
```
@@ -523,7 +518,7 @@ type Role
523518
type alias User =
524519
ExtensibleUser { role : Role }
525520

526-
user : User -- doesn't matter about the order when defining new object
521+
user : User -- doesn't matter about the order when defining new record
527522
user =
528523
{ id : "id"
529524
, role : Admin

0 commit comments

Comments
 (0)