From 373e76e3e817e3a719027cbc49abb7d3991d0da6 Mon Sep 17 00:00:00 2001 From: Ziwei Xie Date: Fri, 24 Jul 2015 18:32:36 +0800 Subject: [PATCH] Fix a macro name in 8.06 --- 08_deployment-and-distribution/8-06_primitive-arrays.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/08_deployment-and-distribution/8-06_primitive-arrays.asciidoc b/08_deployment-and-distribution/8-06_primitive-arrays.asciidoc index d116e452..dfc55426 100644 --- a/08_deployment-and-distribution/8-06_primitive-arrays.asciidoc +++ b/08_deployment-and-distribution/8-06_primitive-arrays.asciidoc @@ -106,10 +106,10 @@ using +asum+, primarily because +map+ produces sequences of an intermediate sequence, all arithmetic operations on boxed numbers are significantly slower than on their primitive counterparts. -++hiphip++'s +amap+, +afill!+, +reduce+, and +asum+ macros (among others) +++hiphip++'s +amap+, +afill!+, +areduce+, and +asum+ macros (among others) are available for +int+, +long+, +float+, and +double+ types. If you wanted to use +reduce+ over an array of floats, for example, you would -use +hiphip.float/reduce+. These macros define the appropriate +use +hiphip.float/areduce+. These macros define the appropriate type hints and optimizations per type. Clojure also comes with