aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/control/concurrency
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/control/concurrency')
-rw-r--r--stdlib/source/lux/control/concurrency/actor.lux6
-rw-r--r--stdlib/source/lux/control/concurrency/atom.lux5
-rw-r--r--stdlib/source/lux/control/concurrency/frp.lux4
-rw-r--r--stdlib/source/lux/control/concurrency/process.lux4
-rw-r--r--stdlib/source/lux/control/concurrency/promise.lux7
-rw-r--r--stdlib/source/lux/control/concurrency/semaphore.lux3
-rw-r--r--stdlib/source/lux/control/concurrency/stm.lux3
7 files changed, 18 insertions, 14 deletions
diff --git a/stdlib/source/lux/control/concurrency/actor.lux b/stdlib/source/lux/control/concurrency/actor.lux
index 3384b7b66..97aa88b5c 100644
--- a/stdlib/source/lux/control/concurrency/actor.lux
+++ b/stdlib/source/lux/control/concurrency/actor.lux
@@ -1,12 +1,12 @@
(.module: {#.doc "The actor model of concurrency."}
[lux #*
- ["." function]
[abstract
monad]
[control
+ ["." function]
["p" parser]
- ["ex" exception (#+ exception:)]]
- ["." io (#+ IO io) ("#;." monad)]
+ ["ex" exception (#+ exception:)]
+ ["." io (#+ IO io) ("#;." monad)]]
[data
["." product]
["." error (#+ Error)]
diff --git a/stdlib/source/lux/control/concurrency/atom.lux b/stdlib/source/lux/control/concurrency/atom.lux
index 6b88a0a4a..6ef8c8466 100644
--- a/stdlib/source/lux/control/concurrency/atom.lux
+++ b/stdlib/source/lux/control/concurrency/atom.lux
@@ -2,8 +2,9 @@
[lux #*
[abstract
[monad (#+ do)]]
- ["." function]
- ["." io (#- run)]
+ [control
+ ["." function]
+ ["." io (#- run)]]
[type
abstract]
[tool
diff --git a/stdlib/source/lux/control/concurrency/frp.lux b/stdlib/source/lux/control/concurrency/frp.lux
index 74212594f..ac145f78a 100644
--- a/stdlib/source/lux/control/concurrency/frp.lux
+++ b/stdlib/source/lux/control/concurrency/frp.lux
@@ -1,6 +1,5 @@
(.module:
[lux #*
- ["." io (#+ IO io)]
[abstract
[predicate (#+ Predicate)]
[equivalence (#+ Equivalence)]
@@ -8,7 +7,8 @@
[apply (#+ Apply)]
["." monad (#+ Monad do)]]
[control
- ["ex" exception (#+ exception:)]]
+ ["ex" exception (#+ exception:)]
+ ["." io (#+ IO io)]]
[data
["." maybe ("#@." functor)]
["." error (#+ Error)]
diff --git a/stdlib/source/lux/control/concurrency/process.lux b/stdlib/source/lux/control/concurrency/process.lux
index 96963a7f2..c7f9ae82e 100644
--- a/stdlib/source/lux/control/concurrency/process.lux
+++ b/stdlib/source/lux/control/concurrency/process.lux
@@ -3,14 +3,14 @@
[abstract
["." monad (#+ do)]]
[control
- ["ex" exception (#+ exception:)]]
+ ["ex" exception (#+ exception:)]
+ ["." io (#+ IO io)]]
[data
[collection
["." list]]]
[tool
[compiler
["." host]]]
- ["." io (#+ IO io)]
[host (#+ import: object)]]
[//
["." atom (#+ Atom)]])
diff --git a/stdlib/source/lux/control/concurrency/promise.lux b/stdlib/source/lux/control/concurrency/promise.lux
index 63f506c37..49d4247b4 100644
--- a/stdlib/source/lux/control/concurrency/promise.lux
+++ b/stdlib/source/lux/control/concurrency/promise.lux
@@ -4,12 +4,13 @@
[functor (#+ Functor)]
[apply (#+ Apply)]
["." monad (#+ Monad do)]]
+ [control
+ ["." function]
+ ["." io (#+ IO io)]]
[data
["." product]]
- ["." function]
[type
- abstract]
- ["." io (#+ IO io)]]
+ abstract]]
[//
["." process]
["." atom (#+ Atom atom)]])
diff --git a/stdlib/source/lux/control/concurrency/semaphore.lux b/stdlib/source/lux/control/concurrency/semaphore.lux
index 1159e41e6..fab5d4498 100644
--- a/stdlib/source/lux/control/concurrency/semaphore.lux
+++ b/stdlib/source/lux/control/concurrency/semaphore.lux
@@ -2,7 +2,8 @@
[lux #*
[abstract
[monad (#+ do)]]
- ["." io (#+ IO)]
+ [control
+ ["." io (#+ IO)]]
[type
abstract
["." refinement]]]
diff --git a/stdlib/source/lux/control/concurrency/stm.lux b/stdlib/source/lux/control/concurrency/stm.lux
index fce9cbd82..9d97b389f 100644
--- a/stdlib/source/lux/control/concurrency/stm.lux
+++ b/stdlib/source/lux/control/concurrency/stm.lux
@@ -4,7 +4,8 @@
[functor (#+ Functor)]
[apply (#+ Apply)]
["." monad (#+ do Monad)]]
- ["." io (#+ IO io)]
+ [control
+ ["." io (#+ IO io)]]
[data
["." product]
["." maybe]