Handbook
Glossary
number-color ( n -- color )
Vocabulary
hacker-news
.
private
Inputs
n
an
object
Outputs
color
an
object
Definition
USING:
colors
hacker-news
kernel
math
;
IN:
hacker-news.private
:
number-color
( n -- color )
christmas-day?
[
odd?
christmas-red
christmas-green
?
]
[
drop
COLOR:
#a0a0a0
]
if
;