# Any syntax to specify whether a function should or should not be compiled?

**URL:** <https://discourse.julialang.org/t/any-syntax-to-specify-whether-a-function-should-or-should-not-be-compiled/33125>\
**Category:** Internals & Design\
**Created:** [January 8, 2020, 10:19pm UTC](https://discourse.julialang.org/t/any-syntax-to-specify-whether-a-function-should-or-should-not-be-compiled/33125 "2020-01-08T22:19:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Post date:** [January 9, 2020, 4:15am UTC](https://discourse.julialang.org/t/any-syntax-to-specify-whether-a-function-should-or-should-not-be-compiled/33125/2 "2020-01-09T04:15:15Z")

</div>

Perhaps `@nospecialize`.

See [When should we use `@nospecialize`?](https://discourse.julialang.org/t/when-should-we-use-nospecialize/10392)

---

_[View the full topic](https://discourse.julialang.org/t/any-syntax-to-specify-whether-a-function-should-or-should-not-be-compiled/33125)._
