I should have been less tentative: you can add values to modules, and you can add mutable values to modules. And that state is not global at all. (Though you might be able to ask for global state.)
They are often used without mutable state, but the language doesn't make them so.
See eg https://realworldocaml.org/v1/en/html/first-class-modules.ht...