Handbook
Glossary
spec>pairs ( sequence -- intervals )
Vocabulary
interval-sets
.
private
Inputs
sequence
an
object
Outputs
intervals
an
object
Definition
USING:
arrays
kernel
math
sequences
;
IN:
interval-sets.private
:
spec>pairs
( sequence -- intervals )
[
dup
number?
[
dup
2array
]
when
]
map
;