Enter some language construct you want to know more about.
module type defines the required shape of a module.
Use module type to declare a module signature.
Example
ReScriptJS Output
moduletypeShowable = {
type t
let show: t => string
}
moduleIntShow: Showable = {
type t = int
let show = x =>Int.toString(x)
}
let rendered =IntShow.show(42)