aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/action.lux
blob: 4990dfed9f561d10e7392d0b35faf27d594ca12b (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)
  (:expected (try.with async.monad)))