|
13 | 13 | ## 2. Calculate the remaining oven time in minutes
|
14 | 14 |
|
15 | 15 | - You need to define a [function][functions] with a single argument.
|
16 |
| -- You have to [implicitly return an integer][return] from a function. |
| 16 | +- You have to return from a function. |
17 | 17 | - The function's argument is an [integer][integers].
|
18 | 18 | - You can use the [mathematical operator for subtraction][operators] to subtract values.
|
19 | 19 |
|
20 | 20 | ## 3. Calculate the preparation time in minutes
|
21 | 21 |
|
22 | 22 | - You need to define a [function][functions] with a single argument.
|
23 |
| -- You have to [implicitly return an integer][return] from a function. |
| 23 | +- You have to return from a function. |
24 | 24 | - The function's argument is an [integer][integers].
|
25 | 25 | - You can use the [mathematical operator for multiplication][operators] to multiply values.
|
26 | 26 |
|
27 | 27 | ## 4. Calculate the total working time in minutes
|
28 | 28 |
|
29 | 29 | - You need to define a [function][functions] with two arguments.
|
30 |
| -- You have to [implicitly return an integer][return] from a function. |
| 30 | +- You have to return an integer from a function. |
31 | 31 | - The function's argument is an [integer][integers].
|
32 | 32 | - You can invoke one of the other functions you've defined previously.
|
33 | 33 | - You can use the [mathematical operator for addition][operators] to add values.
|
|
39 | 39 |
|
40 | 40 | TODO CHANGE TO HASKELL LINKS:
|
41 | 41 |
|
42 |
| -[functions]: https://hexdocs.pm/elixir/modules-and-functions.html#function-definition |
43 |
| -[return]: https://stackoverflow.com/questions/37445838/returning-values-in-elixir |
44 |
| -[operators]: https://hexdocs.pm/elixir/basic-types.html#basic-arithmetic |
45 |
| -[integers]: https://hexdocs.pm/elixir/basic-types.html |
46 |
| -[string]: https://hexdocs.pm/elixir/basic-types.html#strings |
| 42 | +[functions]: https://www.haskell.org/tutorial/functions.html |
| 43 | +[operators]:https://www.tutorialspoint.com/haskell/haskell_basic_operators.htm |
| 44 | +[integers]: https://hackage.haskell.org/package/base/docs/Data-Int.html |
| 45 | +[string]: https://hackage.haskell.org/package/base/docs/Data-String.html |
0 commit comments