Dependent globs and n-ary dependent ap