Commit 51238e10 authored by Taddeus Kroes's avatar Taddeus Kroes

funclang series3: Removed some usless comments.

parent 194bbca3
......@@ -18,10 +18,9 @@ let zip l m =
let rec cut l e = if e = (length l) then l else cut (rev (tl (rev l))) e in
(* Get the minimum of two integers *)
let min a b = if a > b then b else a in
(* Get the length of the shortest list *)
let len = min (length l) (length m) in
(* Cut off both lists at the length of the shortest list to equal their
* lengts, then use the native 'combine' function *)
let len = min (length l) (length m) in
combine (cut l len) (cut m len)
;;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment