4 lines
131 B
Standard ML
4 lines
131 B
Standard ML
(* string -> string *)
|
|
fun readFile path =
|
|
(fn strm =>
|
|
TextIO.inputAll strm before TextIO.closeIn strm) (TextIO.openIn path)
|