Skip to content

Instantly share code, notes, and snippets.

@chenglou
Created May 13, 2016 20:37
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 chenglou/2fda16396842155b757caf364e3aedc2 to your computer and use it in GitHub Desktop.
Save chenglou/2fda16396842155b757caf364e3aedc2 to your computer and use it in GitHub Desktop.
echo "open C\n let a = InC.x" > Main.ml
echo "module InC = struct let x = 5 end" > C.ml
ocamldep -I ./ -modules Main.ml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment