aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/tool/compiler/meta/io.lux
blob: dd261a539fd3309f2ccb6a17a1d9454aabe24b0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)))