aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/action.lux
blob: 9f3d72207d755d892215866d803867cc87de5dba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
(.module:
  [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)))