Skip to content
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

Merged
merged 3 commits into from
Aug 12, 2022
Merged

Copy changes. Fixes #492 #493

merged 3 commits into from
Aug 12, 2022

Conversation

ceddlyburge
Copy link
Contributor

No description provided.

Copy link

@alvaro121 alvaro121 left a 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, chnangeschanges.

Comment on lines 11 to 13
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:

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done


```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.

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@@ -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`.

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.

Copy link
Contributor Author

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.

@ceddlyburge
Copy link
Contributor Author

@mpizenberg @jiegillet could you take a look at this PR?
Thanks, Cedd

@mpizenberg
Copy link
Member

Hey, I can take a look tomorrow

Copy link
Member

@mpizenberg mpizenberg left a 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!

@mpizenberg mpizenberg merged commit 5b10317 into main Aug 12, 2022
@mpizenberg mpizenberg deleted the 492 branch August 12, 2022 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants