Inside a file called Util.re, I did this:
module String = {
include String;
/* Convert Unicode code point to corresponding string */
[@bs.val] external fromCodePoint: int => string = "String.fromCodePoint";
/* some more stuff */
};
In other source files, if I first do open Util;
I can use my new function as if it were part of the String module, as well as access all the other functions that are under String. Is this good practice? Or should I my String module be renamed to something else, e.g. String_?