-
-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Copy changes. Fixes #492 #493
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, the commit message has a typo, chnanges
→ changes
.
Define the remainingTimeInMinutes function that takes two parameters and has a let expression as its body. The first parameter is the number of layers in the lasagna, and the second parameter is the number of minutes since you starting cooking. | ||
|
||
Define expectedMinutesInOven (in the `let` part of the `let` expression) to check how many minutes the lasagna should be in the oven. According to the cooking book, the expected oven time in minutes is 40: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both remainingTimeInMinutes
and expectedMinutesInOven
are missing backticks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
exercises/concept/luigis-luscious-lasagna/.docs/instructions.md
Outdated
Show resolved
Hide resolved
|
||
```elm | ||
preparationTimeInMinutes 3 | ||
--> 6 | ||
``` | ||
|
||
Define the `remainingTimeInMinutes` function (in the `in` part of the `let` expression) that takes two parameters: the first parameter is the number of layers you added to the lasagna, and the second parameter is the number of minutes since you starting cooking. The function should return how many minutes are left until the lasagna is finished, which is the sum of the `preparationTimeInMinutes` and the `expectedMinutesInOven` minus the number of minutes since you starting cooking. | ||
Return how many minutes are left until the lasagna is finished (in the `in` part of the `let` expression), which is the sum of the preparationTimeInMinutes and the expectedMinutesInOven minus the number of minutes since you starting cooking. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
preparationTimeInMinutes
and expectedMinutesInOven
missing backticks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
exercises/concept/lucians-luscious-lasagna/.docs/instructions.md
Outdated
Show resolved
Hide resolved
@@ -60,7 +60,7 @@ stillAlice = Dict.remove 1 --> ( 0, "Alice" ) | |||
empty = Dict.remove 0 alice --> Dict.empty | |||
``` | |||
|
|||
A list of key value pairs can be converted into a dict with `fromList`. | |||
A list of key value pairs can be converted into a dict with `fromList`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a double space here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I've fixed that.
@mpizenberg @jiegillet could you take a look at this PR? |
Hey, I can take a look tomorrow |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry I completely forgot about this. It looks good!
No description provided.