Replace `take 10 $ repeat '0'` with `replicate 10 '0'`