In Scala you can do something like this:
def times[A](item: A, number: Int): List[A] = number match {
  case n if n <= 0 => Nil // Nil = '()
  case _ => 
    // equivalent to [_ (cons item (times item (- number 1)))]
    item :: times(item, number - 1)
}
Is it possible to do something like this using Racket's match form? I couldn't find it in the documentation
For those not familiar with Scala, the first case matches if the number is equal to or less than 0, the second case is just a wildcard that matches everything else
in other words, what would I write in the ??? spot to achieve similar functionality to what I described above?
(define (times item number)
  (match number
    [??? '()]
    [_ (cons item (times item (- number 1)))]))