I understand that its return type is the string that is read but why does it need the parameter of type unit
?
↧
Why does the OCaml function `read_line` have type `unit -> string`?
↧
I understand that its return type is the string that is read but why does it need the parameter of type unit
?