# Function builders

**URL:** <https://forums.swift.org/t/function-builders/25167>\
**Category:** Pitches\
**Created:** [June 3, 2019, 10:11pm UTC](https://forums.swift.org/t/function-builders/25167 "2019-06-03T22:11:10Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![Lantua](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/lantua/32/8868_2.png) [@Lantua](https://forums.swift.org/u/Lantua)\
**Post date:** [June 3, 2019, 11:07pm UTC](https://forums.swift.org/t/function-builders/25167/16 "2019-06-03T23:07:30Z")

</div>

How do we deal with `@discardableResult`, should they be ignored when the type match/doesn't match?

I feel like they should all be tried, at least the fallback doesn't seem too bad.

> [@John\_McCall](#):
>
> I think the biggest danger there is probably with things like `assert` and `precondition` .

Aren't they `Void` functions? I'm not sure I follows.

---

_[View the full topic](https://forums.swift.org/t/function-builders/25167)._
