diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/library/lux/world/net/http/request.lux | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/library/lux/world/net/http/request.lux b/stdlib/source/library/lux/world/net/http/request.lux index 86d74217d..36f0498ea 100644 --- a/stdlib/source/library/lux/world/net/http/request.lux +++ b/stdlib/source/library/lux/world/net/http/request.lux @@ -37,8 +37,8 @@ (monad.mix try.monad (function (_ input [offset output]) (let [amount (binary.size input)] - (# try.functor each (|>> [(n.+ amount offset)]) - (binary.copy amount 0 input offset output)))) + (at try.functor each (|>> [(n.+ amount offset)]) + (binary.copy amount 0 input offset output)))) [0 (|> inputs (list#each binary.size) (list#mix n.+ 0) @@ -50,7 +50,7 @@ (-> Body (Async (Try Text))) (do async.monad [blobs (frp.list body)] - (in (# encoding.utf8 decoded (merge blobs))))) + (in (at encoding.utf8 decoded (merge blobs))))) (def: failure (//response.bad_request "")) @@ -61,7 +61,7 @@ [?raw (read_text_body (the //.#body message))] (case (do try.monad [raw ?raw - content (# json.codec decoded raw)] + content (at json.codec decoded raw)] (json.result content reader)) {try.#Success input} (server input request) |