Doc for eltype(A)[A[k] for k in v]?


I have seen the use of eltype(A)[A[k] for k in v] a few times in a package. Not seeing the doc for this syntax here. But I know that I must have missed looking at somewhere else. Can anyone remind me? Thanks!


That syntax is shown at the end of that section, except that it uses a specific type instead of eltype.


Aha, thanks buddy!