Created
January 23, 2014 05:29
-
-
Save cohalz/8573381 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let rec zip lst1 lst2 = | |
match (lst1,lst2) with | |
| ([],_) | (_,[]) -> [] | |
| ((x::xs),(y::ys)) -> (x,y)::zip xs ys |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment