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.lux4
1 files changed, 3 insertions, 1 deletions
diff --git a/stdlib/source/program/aedifex/hash.lux b/stdlib/source/program/aedifex/hash.lux
index 23421b264..6af53e362 100644
--- a/stdlib/source/program/aedifex/hash.lux
+++ b/stdlib/source/program/aedifex/hash.lux
@@ -14,6 +14,8 @@
["[0]" text
["%" format {"+" Format format}]
["[0]" encoding]]]
+ [macro
+ ["^" pattern]]
[math
[number
["n" nat]
@@ -135,7 +137,7 @@
{.#None}
(case (..hash_size input)
0 (constructor output)
- (^template [<size> <write>]
+ (^.template [<size> <write>]
[<size>
(do try.monad
[head (# n.hex decoded input)