diff options
Diffstat (limited to '')
-rw-r--r-- | lib/export.ml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/export.ml b/lib/export.ml new file mode 100644 index 0000000..3346195 --- /dev/null +++ b/lib/export.ml @@ -0,0 +1,4 @@ +let to_path path ~content = + let oc = open_out path in + Printf.fprintf oc "%s" content; + close_out oc |