diff options
Diffstat (limited to 'stdlib/source/program/aedifex/repository.lux')
-rw-r--r-- | stdlib/source/program/aedifex/repository.lux | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/stdlib/source/program/aedifex/repository.lux b/stdlib/source/program/aedifex/repository.lux index 65c13db0f..395eefc20 100644 --- a/stdlib/source/program/aedifex/repository.lux +++ b/stdlib/source/program/aedifex/repository.lux @@ -28,12 +28,12 @@ (-> (Repository IO) (Repository Async)) (implementation (def: description - (# repository description)) + (at repository description)) (def: (download uri) - (async.future (# repository download uri))) + (async.future (at repository download uri))) (def: (upload uri content) - (async.future (# repository upload uri content))) + (async.future (at repository upload uri content))) )) (type: .public (Mock s) @@ -50,13 +50,13 @@ (let [state (stm.var init)] (implementation (def: description - (# mock the_description)) + (at mock the_description)) (def: (download uri) (stm.commit! (do [! stm.monad] [|state| (stm.read state)] - (case (# mock on_download uri |state|) + (case (at mock on_download uri |state|) {try.#Success [|state| output]} (do ! [_ (stm.write |state| state)] @@ -69,7 +69,7 @@ (stm.commit! (do [! stm.monad] [|state| (stm.read state)] - (case (# mock on_upload uri content |state|) + (case (at mock on_upload uri content |state|) {try.#Success |state|} (do ! [_ (stm.write |state| state)] |