JuliaLang/julia — pull request #1488 by kmsquire (2012-11-01 21:58:57+00:00)
Title: Make product iterator iterate in a more natural fashion.

Before:

```julia
julia> f = ['A', 'B', 'C']
4-element Char Array:
'A'
'B'
'C'

julia> [product(f, f)...]
9-element (Any...,) Array:
('A','A')
('B','A')
('C','A')
('A','B')
('B','B')
('C','B')
('A','C')
('B','C')
('C','C')
```

After:

```julia
julia> [product(f,f)...]
9-element (Any...,) Array:
('A','A')
('A','B')
('A','C')
('B','A')
('B','B')
('B','C')
('C','A')
('C','B')
('C','C')
```