Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions solutions/gleam/lasagna/1/src/lasagna.gleam
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Please define the expected_minutes_in_oven function
pub fn expected_minutes_in_oven() -> Int { 40 }
// Please define the remaining_minutes_in_oven function
pub fn remaining_minutes_in_oven(x: Int) -> Int { expected_minutes_in_oven() - x }
// Please define the preparation_time_in_minutes function
pub fn preparation_time_in_minutes(x: Int) { x * 2 }
// Please define the total_time_in_minutes function
pub fn total_time_in_minutes(x, y: Int) { preparation_time_in_minutes(x) + y}
// Please define the alarm function
pub fn alarm() -> String { "Ding!" }