Skip to content

Instantly share code, notes, and snippets.

@ThePhD

ThePhD/blah.ml Secret

Created September 23, 2016 09:02
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 ThePhD/dc7c70b6f10746a816b1e2ee7c4a4c7c to your computer and use it in GitHub Desktop.
Save ThePhD/dc7c70b6f10746a816b1e2ee7c4a4c7c to your computer and use it in GitHub Desktop.
let list_print (l: string list) : unit =
(* *)
List.iter ( print_endline ) l;;
list_print [];;
list_print ["a"];;
list_print ["a", "b"];;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment