aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/action.lux
blob: e8a88facd21d7356e163ffc752912be3f59f8557 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(.module:
  [lux #*
   [abstract
    [monad (#+ Monad)]]
   [control
    ["." try (#+ Try)]
    [concurrency
     ["." promise (#+ Promise)]]]])

(type: #export (Action a)
  (Promise (Try a)))

(def: #export monad
  (Monad Action)
  (:assume (try.with promise.monad)))