aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/concurrency/promise.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/concurrency/promise.lux')
-rw-r--r--stdlib/source/lux/concurrency/promise.lux5
1 files changed, 3 insertions, 2 deletions
diff --git a/stdlib/source/lux/concurrency/promise.lux b/stdlib/source/lux/concurrency/promise.lux
index a6c814c5a..f2a7ffc05 100644
--- a/stdlib/source/lux/concurrency/promise.lux
+++ b/stdlib/source/lux/concurrency/promise.lux
@@ -7,7 +7,8 @@
function
(control functor
applicative
- monad)
+ monad
+ ["p" parser])
[macro]
(macro ["s" syntax #+ syntax: Syntax])
(concurrency [atom #+ Atom atom])
@@ -30,7 +31,7 @@
(atom {#value ?value
#observers (list)}))
-(syntax: #export (promise [?type (s;opt s;any)])
+(syntax: #export (promise [?type (p;opt s;any)])
{#;doc (doc "Makes an uninitialized Promise (in this example, of Unit)."
(promise Unit)