import * as tracing_1 from "../../../../Tracing"
const fileName_1 = "(@effect-ts/system): _src/Collections/Immutable/Chunk/api/range.ts"
import { append_, empty } from "../core"
/**
 * Build a chunk with an integer range with both min/max included
 */

export function range(min, max) {
  let builder = empty()

  for (let i = min; i <= max; i++) {
    builder = append_(builder, i)
  }

  return builder
}
//# sourceMappingURL=range.js.map
