aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/repository/remote.lux
diff options
context:
space:
mode:
authorEduardo Julian2021-09-12 00:07:08 -0400
committerEduardo Julian2021-09-12 00:07:08 -0400
commitdda05bca0956af5e5b3875c4cc36e61aa04772e4 (patch)
tree0f8b27697d58ab5c8e41aba7c7c9f769d3800767 /stdlib/source/program/aedifex/repository/remote.lux
parentd48270f43c404ba19ca04da2553455ecaaf2caba (diff)
Made the "#" character great again!
Diffstat (limited to 'stdlib/source/program/aedifex/repository/remote.lux')
-rw-r--r--stdlib/source/program/aedifex/repository/remote.lux14
1 files changed, 7 insertions, 7 deletions
diff --git a/stdlib/source/program/aedifex/repository/remote.lux b/stdlib/source/program/aedifex/repository/remote.lux
index 269ff15a9..9f09b0993 100644
--- a/stdlib/source/program/aedifex/repository/remote.lux
+++ b/stdlib/source/program/aedifex/repository/remote.lux
@@ -65,15 +65,15 @@
[[status message] (: (IO (Try (@http.Response IO)))
(http.get (format address uri)
(http.headers ..base_headers)
- #.None
+ {.#None}
http))]
(case status
(^ (static http/status.ok))
- (\ ! each product.right ((value@ #@http.body message) #.None))
+ (\ ! each product.right ((value@ #@http.body message) {.#None}))
_
(do !
- [_ ((value@ #@http.body message) {#.Some 0})]
+ [_ ((value@ #@http.body message) {.#Some 0})]
(\ io.monad in (exception.except ..download_failure [(format address uri) status]))))))
(def: (upload uri content)
@@ -81,15 +81,15 @@
[[status message] (: (IO (Try (@http.Response IO)))
(http.put (format address uri)
(http.headers (case identity
- #.None
+ {.#None}
..base_headers
- {#.Some [user password]}
+ {.#Some [user password]}
(list& ["Authorization" (//identity.basic_auth user password)]
..base_headers)))
- {#.Some content}
+ {.#Some content}
http))
- _ ((value@ #@http.body message) {#.Some 0})]
+ _ ((value@ #@http.body message) {.#Some 0})]
(case status
(^ (static http/status.created))
(in [])