aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/world/service/mail.lux
diff options
context:
space:
mode:
authorEduardo Julian2019-07-02 23:36:02 -0400
committerEduardo Julian2019-07-02 23:36:02 -0400
commit91c0619657bcf2ac520e7dd2912188f66bbe2157 (patch)
treef26675f263eb5f0285c1674b0777a7369248fe07 /stdlib/source/lux/world/service/mail.lux
parent4f191540f831a7bba0e262b1a6b598f99fb9b35c (diff)
Re-name "lux/data/error" to "lux/control/try".
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/world/service/mail.lux9
1 files changed, 4 insertions, 5 deletions
diff --git a/stdlib/source/lux/world/service/mail.lux b/stdlib/source/lux/world/service/mail.lux
index ce5eb91b3..eb49c6131 100644
--- a/stdlib/source/lux/world/service/mail.lux
+++ b/stdlib/source/lux/world/service/mail.lux
@@ -1,18 +1,17 @@
(.module:
[lux #*
[control
+ [try (#+ Try)]
[concurrency
[frp (#+ Channel)]]
[security
- ["!" capability (#+ capability:)]]]
- [data
- [error (#+ Error)]]])
+ ["!" capability (#+ capability:)]]]])
(capability: #export (Can-Send ! address message)
- (can-send [address message] (! (Error Any))))
+ (can-send [address message] (! (Try Any))))
(capability: #export (Can-Subscribe ! address message)
- (can-subscribe [address] (! (Error (Channel message)))))
+ (can-subscribe [address] (! (Try (Channel message)))))
(type: #export (Service ! address message)
{#can-send (Can-Send ! address message)