Due to the refactor of the AmericanFlag module and the Lexicographic type, the terminate function is no longer exposed by the module, but a method with it's type signature is still expected to be passed to the sortBy function.
I suggest that the terminate function be exposed as part of this module.
Due to the refactor of the AmericanFlag module and the Lexicographic type, the terminate function is no longer exposed by the module, but a method with it's type signature is still expected to be passed to the sortBy function.
I suggest that the terminate function be exposed as part of this module.