module Functions:sig
..end
val f1 : int -> y:int -> int
val f2 : string -> y:int -> int option -> int
There's no way to refer to the third arg in documentation.
x
: first argy
: second argval f3 : int -> int -> int -> int
x
: first argy
: second argz
: third argval f4 : ?x:int -> ?y:int -> ?z:int -> unit -> int
This output is a bit weird: we should probably refer
to the third argument as z
, its label, rather than
blah
, its internally-bound pattern.
x
: first argy
: second argblah
: third argclass m :object
..end