Skip to content

Instantly share code, notes, and snippets.

@adilakhter
Created January 11, 2013 16:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adilakhter/4511794 to your computer and use it in GitHub Desktop.
Save adilakhter/4511794 to your computer and use it in GitHub Desktop.
> zipTwo [] [];;
val it : (int * int) list option = Some []
> zipTwo [1;2] [2;4;8];;
val it : (int * int) list option = None
> zipTwo [1;2;3] [2;4;8];;
val it : (int * int) list option = Some [(1, 2); (2, 4); (3, 8)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment