我想知道之间有什么区别:
let b = read_int();;
和
let scan_int () = Scanf.scanf " %d" (fun x -> x)
?
此外,为什么Scanf将一个功能作为一个条目?
ocaml
ocaml ×1