Closed vrotaru closed 1 year ago
It turns out you can keep the the old signature and just change the implementation to make explicit that you are not using the result.
Now thinking, If i should do the same to restore the signature of TopUi.top_start
The inferred signature of
start
funcions in top.ml and topUi.ml was less general than the declared one.I've update the
.mli
to use unit instead of a polymorphic type variable and add this change for an argumentThe rest of the PR is just fixing dune warnings about unused variables.