Generalized dyadic spaces