Handbook
Glossary
produce-sum ( id pred quot -- sum )
Vocabulary
project-euler
.
255
.
private
Inputs
id
an
object
pred
an
object
quot
an
object
Outputs
sum
an
object
Definition
USING:
kernel
math
;
IN:
project-euler.255.private
:
produce-sum
( id pred quot -- sum )
[
0
]
2dip
[
[
dip
swap
]
curry
]
[
[
dip
+
]
curry
]
bi*
while
;
inline