flowstdlib 0.142.0

The standard library of functions and flows for 'flow' programs
Documentation
flow = "range"
docs = "range.md"

# The range to generate: [min, max] both are inclusive
[[input]]
name = "range"
type = "array/number"

# The numbers in the range (inclusive of min and max)
[[output]]
name = "number"
type = "number"

[[process]]
source = "lib://flowstdlib/math/range_split"

[[connection]]
from = "input/range"
to = "range_split/range"

# Send the numbers (ranges that cannot be split further) to the output
[[connection]]
from = "range_split/number"
to = "output/number"

# Feedback the two sub-ranges for further splitting
[[connection]]
from = "range_split/bottom"
to = "range_split/range"

[[connection]]
from = "range_split/top"
to = "range_split/range"