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

(type .public Source
  Path)

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

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