listOfIndicesByCount :: (Num n, Ord n, Enum n) => n -> [n]
listOfIndicesByCount n =
  if n > 0
    then [0 .. (n - 1)]
    else []
listOfIndicesByCount :: (Num n, Ord n, Enum n) => n -> [n]
listOfIndicesByCount n =
  if n > 0
    then [0 .. (n - 1)]
    else []
listOfIndicesByCount n =
  if n > 0
    then [0 .. (n - 1)]
    else []