aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/concurrency/task.lux
diff options
context:
space:
mode:
authorEduardo Julian2017-11-27 02:34:07 -0400
committerEduardo Julian2017-11-27 02:34:07 -0400
commit8003796cce911fa7c4958a83a2c55e6cbe16c8aa (patch)
treed959350213f80c48e98934064a240617486e3200 /stdlib/source/lux/concurrency/task.lux
parentd6a7a133c5c4a734ab45e9497c8e5df749ce383a (diff)
- Got rid of even more dots.
Diffstat (limited to 'stdlib/source/lux/concurrency/task.lux')
-rw-r--r--stdlib/source/lux/concurrency/task.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/lux/concurrency/task.lux b/stdlib/source/lux/concurrency/task.lux
index 374acee46..b65d7c563 100644
--- a/stdlib/source/lux/concurrency/task.lux
+++ b/stdlib/source/lux/concurrency/task.lux
@@ -27,7 +27,7 @@
(def: #export (try computation)
(All [a] (-> (Task a) (Task (E;Error a))))
- (:: P;Functor<Promise> map (|>. #E;Success) computation))
+ (:: P;Functor<Promise> map (|>> #E;Success) computation))
(struct: #export _ (F;Functor Task)
(def: (map f fa)
@@ -76,4 +76,4 @@
(def: #export (from-promise promise)
(All [a] (-> (P;Promise a) (Task a)))
- (:: P;Functor<Promise> map (|>. #E;Success) promise))
+ (:: P;Functor<Promise> map (|>> #E;Success) promise))