summaryrefslogtreecommitdiff
path: root/salsa-chacha.rkt
diff options
context:
space:
mode:
Diffstat (limited to 'salsa-chacha.rkt')
-rw-r--r--salsa-chacha.rkt2
1 files changed, 1 insertions, 1 deletions
diff --git a/salsa-chacha.rkt b/salsa-chacha.rkt
index bf7a6ee..9a07820 100644
--- a/salsa-chacha.rkt
+++ b/salsa-chacha.rkt
@@ -133,7 +133,7 @@
(: times (All (a) ((a -> a) Integer -> (a -> a))))
(define (times fn n)
- (for/fold ([acc (inst identity a)])
+ (for/fold ([acc : (a -> a) (inst identity a)])
([i (in-range 0 n)])
(compose fn acc)))