Discrete Lyapunov exponents and Hausdorff dimension