Handbook
Glossary
valid-bounty? ( bounty -- ? )
Vocabulary
rosetta-code
.
knapsack-unbounded
Inputs
bounty
an
object
Outputs
?
an
object
Definition
USING:
accessors
combinators.short-circuit
math
;
IN:
rosetta-code.knapsack-unbounded
:
valid-bounty?
( bounty -- ? )
{
[
weight>>
max-weight
<=
]
[
volume>>
max-volume
<=
]
}
1&&
;