When seeing documentation of modules in Ocamel there is something like this for example in Graphics Module
val close_graph : unit -> unit
Or when writing a function in an interactive mode:
# let x () = 3;;
val x : unit -> int = <fun>
there is val x : unit -> int = <fun>, What is val and it's use case?