Responses for exercises in Exercism.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.3 KiB

# Hints
## 1. Define the expected oven time in minutes
- You need to define a [var][vars] using [def].
## 2. Calculate the remaining oven time in minutes
- You need to define a [function][functions] with a single parameter.
- You can use and refer to the previously defined var by its name.
- The result of evaluating the last expression in a function is automatically returned from the function; all functions return this value.
- You can use the core functions for [operations on numbers][operators] to subtract values.
## 3. Calculate the preparation time in minutes
- You need to define a [function][functions] with a single parameter.
- You can use the core functions for [operations on numbers][operators] to multiply values.
## 4. Calculate the elapsed time in minutes
- You need to define a [function][functions] with two parameters.
- You can [call][calling] one of the other functions you've defined previously.
- You can use the core functions for [operations on numbers][operators] to add values.
[def]: https://clojure.org/guides/learn/syntax#_def
[vars]: https://clojure.org/reference/vars
[functions]: https://clojure.org/guides/learn/functions
[operators]: https://clojuredocs.org/quickref#numbers
[calling]: https://clojure.org/guides/learn/functions#_creating_functions