# File rparsec/misc.rb, line 64
  def check_arg_array_type elem_type, arg, mtd, n=0
    check_arg_type Array, arg, mtd, n
    arg.each_with_index do |x, i|
      unless x.kind_of? elem_type
        raise ArgumentError,
          "#{x.class} assigned to #{elem_type} for the #{nth i} element of the #{nth n} argument of #{mtd}."
      end
    end
  end