diff options
Diffstat (limited to 'stdlib/source/lux/tool/compiler/meta/io.lux')
-rw-r--r-- | stdlib/source/lux/tool/compiler/meta/io.lux | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/stdlib/source/lux/tool/compiler/meta/io.lux b/stdlib/source/lux/tool/compiler/meta/io.lux new file mode 100644 index 000000000..dd261a539 --- /dev/null +++ b/stdlib/source/lux/tool/compiler/meta/io.lux @@ -0,0 +1,16 @@ +(.module: + [lux (#- Module Code) + [data + ["." text]] + [world + [file (#+ File System)]]]) + +(type: #export Context File) + +(type: #export Module Text) + +(type: #export Code Text) + +(def: #export (sanitize system) + (All [m] (-> (System m) Text Text)) + (text.replace-all "/" (:: system separator))) |