# Captured blocks and "with"

**URL:** <https://forum.crystal-lang.org/t/captured-blocks-and-with/1794>\
**Category:** Offtopic\
**Created:** [March 5, 2020, 1:34pm UTC](https://forum.crystal-lang.org/t/captured-blocks-and-with/1794 "2020-03-05T13:34:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![bcardiff](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/bcardiff/32/3_2.png) [@bcardiff](https://forum.crystal-lang.org/u/bcardiff)\
**Post date:** [March 5, 2020, 1:52pm UTC](https://forum.crystal-lang.org/t/captured-blocks-and-with/1794/2 "2020-03-05T13:52:23Z")

</div>

I don’t think it can. Actually is another reason for [RFC: `with ... yield` replacement](https://forum.crystal-lang.org/t/rfc-with-yield-replacement/386) leave the decision of the DSL-ish on the call-site instead of the implementation might be the way to allow captured blocks in DSL.

---

_[View the full topic](https://forum.crystal-lang.org/t/captured-blocks-and-with/1794)._
