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

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

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