aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/tool/compiler/meta/io.lux
blob: 8802d00bdf65e64623e2e3f3cffb6361446b2ca4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
(.module:
  [library
   [lux (#- Code)
    [data
     ["." text]]
    [world
     [file (#+ Path System)]]]])

(type: #export Context
  Path)

(type: #export Code
  Text)

(def: #export (safe system)
  (All [m] (-> (System m) Text Text))
  (text.replace_all "/" (\ system separator)))

(def: #export lux_context
  "lux")