# How to leverage internals of \`collect\`

**URL:** <https://discourse.julialang.org/t/how-to-leverage-internals-of-collect/7493>\
**Category:** General Usage\
**Tags:** question\
**Created:** [December 4, 2017, 10:18am UTC](https://discourse.julialang.org/t/how-to-leverage-internals-of-collect/7493 "2017-12-04T10:18:50Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![tkoolen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tkoolen/32/1603_2.png) [@tkoolen](https://discourse.julialang.org/u/tkoolen)\
**Post date:** [December 4, 2017, 3:38pm UTC](https://discourse.julialang.org/t/how-to-leverage-internals-of-collect/7493/4 "2017-12-04T15:38:32Z")

</div>

I suppose whether or not something is more natural is a bit subjective. I would argue that digging into the internals of `collect` is perhaps less natural.

How about the `map` `do` syntax? See [`stevengj`’s suggestion for a similar problem](https://discourse.julialang.org/t/ridiculous-idea-types-from-the-future/5457/2).

---

_[View the full topic](https://discourse.julialang.org/t/how-to-leverage-internals-of-collect/7493)._
