The accompanying file contains a bug, and your task is to fix this bug.
To this end, load this file a few times in OCaml, as in:
# #use "week-05_power.ml";;
...
#
until the bug becomes apparent (i.e., when an assertion fails to hold).
Then figure it out and fix it.
Hint: redefine the silent flag at the beginning of the file to enable the displaying of error messages.
Subsidiary request: analyze the said error messages, their structure, and how they come about.
Fixed a typo, thanks to Ann Chen’s ever-vigilant eagle eye [17 Feb 2021]
Wordsmithed the statement of Exercise 11 [13 Feb 2021]
Created [13 Feb 2021]