aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/tool/mediator.lux
blob: f46d2f486bbb1641e16093418e426e093b22171f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
(.module:
  [library
   [lux (#- Source Module)
    [world
     ["." binary (#+ Binary)]
     ["." file (#+ Path)]]]]
  [//
   [compiler (#+ Compiler)
    [meta
     ["." archive (#+ Archive)
      [descriptor (#+ Module)]]]]])

(type: .public Source
  Path)

(type: .public (Mediator !)
  (-> Archive Module (! Archive)))

(type: .public (Instancer ! d o)
  (-> (file.System !) (List Source) (Compiler d o) (Mediator !)))