chickadee » data-generators » range

range lower upperprocedure

Creates a range that covers values from lower to upper. There are three variations of this:

  • lower is #f and upper is not #f -> creates a range from (gen-current-fixnum-min) till upper
  • lower is not #f and upper is #f -> creates a range from lower till (gen-current-fixnum-max)
  • lower is not #f and upper is not #f -> creates a range from lower till upper