1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
(.module: [lux #* [abstract [monad (#+ Monad)]] [control ["." try (#+ Try)] [concurrency ["." promise (#+ Promise)]]]]) (type: #export (Action a) (Promise (Try a))) (def: #export monad (Monad Action) (:assume (try.with promise.monad)))