I find myself wanting to write code of the kind

```
hcat(f(i) for i = 1:n)
```

where `f(i)`

would be a function computing the `i`

th column - or possibly multiple columns - of a matrix.

but I end up getting something weird, `1×1 Array{Base.Generator{UnitRange{Int64},##3#4},2}: Base.Generator{UnitRange{Int64},##3#4}(#3,1:3)`

Is such construction feasible? wanted? Is there an alternative simple one-liner that one could use?