aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/world/net/http/route.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/world/net/http/route.lux')
-rw-r--r--stdlib/source/lux/world/net/http/route.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/lux/world/net/http/route.lux b/stdlib/source/lux/world/net/http/route.lux
index 1825b2795..d7b674366 100644
--- a/stdlib/source/lux/world/net/http/route.lux
+++ b/stdlib/source/lux/world/net/http/route.lux
@@ -8,7 +8,7 @@
["." integrity]]]
[data
["." maybe]
- ["." text ("text/." Equivalence<Text>)]]]
+ ["." text ("text/." equivalence)]]]
["." // (#+ URI Server)
["//." status]
["//." response]])
@@ -76,7 +76,7 @@
(def: #export (or primary alternative)
(-> Server Server Server)
(function (_ request)
- (do promise.Monad<Promise>
+ (do promise.monad
[response (primary request)
#let [[status message] response]]
(if (n/= //status.not-found status)