Handbook
Glossary
simple? ( n -- ? )
Vocabulary
math
.
primes
.
private
Inputs
n
an
object
Outputs
?
an
object
Definition
USING:
combinators.short-circuit
math
math.functions
;
IN:
math.primes.private
:
simple?
( n -- ? )
{
[
even?
]
[
3
divisor?
]
[
5
divisor?
]
}
1||
;