aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/lang/compiler/meta/io.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/lang/compiler/meta/io.lux16
1 files changed, 16 insertions, 0 deletions
diff --git a/stdlib/source/lux/lang/compiler/meta/io.lux b/stdlib/source/lux/lang/compiler/meta/io.lux
new file mode 100644
index 000000000..6be4605f2
--- /dev/null
+++ b/stdlib/source/lux/lang/compiler/meta/io.lux
@@ -0,0 +1,16 @@
+(.module:
+ [lux #- Module]
+ (lux (control monad
+ ["ex" exception #+ exception:])
+ (data [error]
+ [text]
+ (text format
+ [encoding]))
+ (world [file #+ File System]
+ [blob #+ Blob])))
+
+(type: #export Module Text)
+
+(def: #export (sanitize system)
+ (All [m] (-> (System m) Text Text))
+ (text.replace-all "/" (:: system separator)))