forLoop haddock doc