Handbook
Glossary
summing-integers ( n quot -- y )
Vocabulary
benchmark
.
partial-sums
Inputs
n
an
object
quot
an
object
Outputs
y
an
object
Definition
USING:
kernel
math
sequences
;
IN:
benchmark.partial-sums
:
summing-integers
( n quot -- y )
[
0.0
]
[
<iota>
]
[
]
tri*
[
[
1
+
]
]
dip
[
+
]
compose
compose
each
;
inline