aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/control/concurrency/frp.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/control/concurrency/frp.lux12
1 files changed, 6 insertions, 6 deletions
diff --git a/stdlib/source/lux/control/concurrency/frp.lux b/stdlib/source/lux/control/concurrency/frp.lux
index 0dae2798e..a91a4f531 100644
--- a/stdlib/source/lux/control/concurrency/frp.lux
+++ b/stdlib/source/lux/control/concurrency/frp.lux
@@ -9,15 +9,15 @@
["." monad (#+ Monad do)]
["ex" exception (#+ exception:)]]
[data
- ["." maybe ("#/." functor)]
+ ["." maybe ("#;." functor)]
["." error (#+ Error)]
[collection
- ["." list ("#/." monoid)]]]
+ ["." list ("#;." monoid)]]]
[type (#+ :share)
abstract]]
[//
["." atom (#+ Atom)]
- ["." promise (#+ Promise) ("#/." functor)]])
+ ["." promise (#+ Promise) ("#;." functor)]])
(type: #export (Channel a)
{#.doc "An asynchronous channel to distribute values."}
@@ -101,8 +101,8 @@
(structure: #export functor (Functor Channel)
(def: (map f)
- (promise/map
- (maybe/map
+ (promise;map
+ (maybe;map
(function (_ [head tail])
[(f head) (map f tail)])))))
@@ -148,7 +148,7 @@
(def: #export (from-promise promise)
(All [a] (-> (Promise a) (Channel a)))
- (promise/map (function (_ value)
+ (promise;map (function (_ value)
(#.Some [value (promise.resolved #.None)]))
promise))