aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/action.lux
blob: 35024a755459fa8598a913f1ab6c4a27e16584fd (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)))