lec 05 notes
This commit is contained in:
10 files changed
+249
No files matched your search
@@ -0,0 +1,9 @@
|
||||
let () =
|
||||
let rec aux acc =
|
||||
try
|
||||
Printf.printf "%5d| %s\n" acc @@ read_line ();
|
||||
aux (acc + 1)
|
||||
with
|
||||
| _ -> ()
|
||||
in
|
||||
aux 1;;
|
||||
Reference in new issue
Block a user