Files
Alexander Heldt 760f5ef4a6 expert-experiments
2025-11-08 19:32:36 +01:00

493 B

Hints

1. Define the with_retry function

  • A case expression can be used to pattern match on a result.

2. Define the record_timing function

  • The time_logger function should be called even if the experiment function returns an Error value.

3. Define the run_experiment function

  • The result.try function can be used in a use expression to stop if a result is an Error value.