aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/compiler/runtime.jvm.lux
blob: 4a5e447856ac9c383fffa7c89e271c86c0e4b18a (plain)
1
2
3
4
5
6
7
8
9
10
11
(;module:
  lux
  (lux (control monad)
       (concurrency ["P" promise "P/" Monad<Promise>])
       (data text/format
             ["E" error]))
  (luxc ["&" base]))

(def: #export (compile-runtime compiler)
  (-> Compiler (P;Promise (E;Error Compiler)))
  (P/wrap (#E;Success compiler)))