aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/action.lux
blob: d9e168e9f35fc491655145a3d49d67418d747bf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
(.using
 [library
  [lux "*"
   [abstract
    [monad {"+" Monad}]]
   [control
    ["[0]" try {"+" Try}]
    [concurrency
     ["[0]" async {"+" Async}]]]]])

(type: .public (Action a)
  (Async (Try a)))

(def: .public monad
  (Monad Action)
  (as_expected (try.with async.monad)))