aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/hash.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/program/aedifex/hash.lux')
-rw-r--r--stdlib/source/program/aedifex/hash.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/program/aedifex/hash.lux b/stdlib/source/program/aedifex/hash.lux
index 5adf44a9e..1455fd65f 100644
--- a/stdlib/source/program/aedifex/hash.lux
+++ b/stdlib/source/program/aedifex/hash.lux
@@ -131,7 +131,7 @@
{.#Some [head tail]}
(do try.monad
[head (# n.hex decoded head)
- output (binary.write/64! index head output)]
+ output (binary.write_64! index head output)]
(again tail (++ chunk) output))
{.#None}
@@ -143,9 +143,9 @@
[head (# n.hex decoded input)
output (<write> index head output)]
(constructor output))])
- ([1 binary.write/8!]
- [2 binary.write/16!]
- [4 binary.write/32!])
+ ([1 binary.has_8!]
+ [2 binary.has_16!]
+ [4 binary.has_32!])
_ (exception.except ..not_a_hash [(..encoding_size size) encoded])))))
(exception.except ..not_a_hash [(..encoding_size size) encoded]))))