Skip to content

Instantly share code, notes, and snippets.

@mrkaspa
Created September 25, 2017 00:43
Show Gist options
  • Save mrkaspa/9791042168e7c99ac86993cef158ddb2 to your computer and use it in GitHub Desktop.
Save mrkaspa/9791042168e7c99ac86993cef158ddb2 to your computer and use it in GitHub Desktop.
Parse ocaml files to reasonml
for f in *.ml; do x=$(basename "$f" ".ml"); refmt "$f" > "$x.re"; rm "$f"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment