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

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

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