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