Skip to content

Commit

Permalink
Update instructions.md to reflect expected function signature
Browse files Browse the repository at this point in the history
The instructions had used the singular to describe the arguments expected by `record`, rather than the plural.
  • Loading branch information
gavinmcgimpsey authored and lpil committed Oct 16, 2023
1 parent 152a2d1 commit ed58728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/concept/expert-experiments/.docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Define the `run_experiment` function that takes four arguments:
- The name of the experiment as a `String`.
- A setup function which takes no arguments and returns a result.
- An action function which takes the `Ok` value of the setup function as an argument and returns a result.
- A recording function which takes the `Ok` value of the setup and functions as an arguments and returns a result.
- A recording function which takes the `Ok` value of the setup and action functions as arguments and returns a result.

If all three functions succeed then `run_experiment` should return `Ok(#(experiment_name, recording_data))`.

Expand Down

0 comments on commit ed58728

Please sign in to comment.