parse-range ( from/f to/f quot: ( input -- value ) seq -- from to )


Vocabulary
crontab.private

Inputs
from/fan object
to/fan object
quota quotation with stack effect ( input -- value )
seqan object


Outputs
froman object
toan object


Definition


:: parse-range
( from/f to/f quot: ( input -- value ) seq -- from to )
from/f [ seq first ] quot if-empty to/f
[ seq last ] quot if-empty ; inline