diff options
author | Eduardo Julian | 2018-07-11 19:47:40 -0400 |
---|---|---|
committer | Eduardo Julian | 2018-07-11 19:47:40 -0400 |
commit | fdfd7036806fe62ffaf054b61fbf16bbfb002b7c (patch) | |
tree | 21a0b03e30df303e111cc8e353dec9865b704917 /stdlib/source/lux/concurrency/actor.lux | |
parent | e7fc42bbc7d0b56384864a6fcd1b1e0bf8cd880b (diff) |
- Improvements to import syntax [part 2].
Diffstat (limited to 'stdlib/source/lux/concurrency/actor.lux')
-rw-r--r-- | stdlib/source/lux/concurrency/actor.lux | 43 |
1 files changed, 24 insertions, 19 deletions
diff --git a/stdlib/source/lux/concurrency/actor.lux b/stdlib/source/lux/concurrency/actor.lux index 792b65dfc..81e873def 100644 --- a/stdlib/source/lux/concurrency/actor.lux +++ b/stdlib/source/lux/concurrency/actor.lux @@ -1,23 +1,28 @@ (.module: {#.doc "The actor model of concurrency."} - lux - (lux (control monad - ["p" parser] - ["ex" exception (#+ exception:)]) - [io (#- run) ("io/" Monad<IO>)] - (data [product] - ["e" error] - text/format - (collection [list ("list/" Monoid<List> Monad<List> Fold<List>)])) - [macro (#+ with-gensyms Monad<Meta>)] - (macro [code] - ["s" syntax (#+ syntax: Syntax)] - (syntax ["cs" common] - (common ["csr" reader] - ["csw" writer]))) - (type abstract)) - (// [atom (#+ Atom atom)] - [promise (#+ Promise promise) ("promise/" Monad<Promise>)] - [task (#+ Task)])) + [lux #* + [control monad + ["p" parser] + ["ex" exception (#+ exception:)]] + [io (#- run) ("io/" Monad<IO>)] + [data + [product] + ["e" error] + text/format + [collection [list ("list/" Monoid<List> Monad<List> Fold<List>)]]] + [macro (#+ with-gensyms Monad<Meta>) + [code] + ["s" syntax (#+ syntax: Syntax)] + [syntax + ["cs" common] + [common + ["csr" reader] + ["csw" writer]]]] + [type + abstract]] + [// + [atom (#+ Atom atom)] + [promise (#+ Promise promise) ("promise/" Monad<Promise>)] + [task (#+ Task)]]) (exception: #export poisoned) |