aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/experiment/tool/mediator.lux
blob: fd04b0574b18fabb3bbac278b3ea0a6be3733818 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
... This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
... If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.

(.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 !)))