# How to avoid compilation of an uncalled function

**URL:** <https://discourse.julialang.org/t/how-to-avoid-compilation-of-an-uncalled-function/100058>\
**Category:** General Usage\
**Tags:** compilation, precompilation, lazy-evaluation\
**Created:** [June 8, 2023, 3:55pm UTC](https://discourse.julialang.org/t/how-to-avoid-compilation-of-an-uncalled-function/100058 "2023-06-08T15:55:21Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![user664303](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/user664303/32/37843_2.png) [@user664303](https://discourse.julialang.org/u/user664303)\
**Post date:** [June 8, 2023, 8:54pm UTC](https://discourse.julialang.org/t/how-to-avoid-compilation-of-an-uncalled-function/100058/3 "2023-06-08T20:54:55Z")

</div>

I have [a similar problem](https://discourse.julialang.org/t/how-to-avoid-compilation-of-an-uncalled-function-inside-a-generated-function/100072), but in a `@generated` function. I haven’t, as yet, been able to fix it.

---

_[View the full topic](https://discourse.julialang.org/t/how-to-avoid-compilation-of-an-uncalled-function/100058)._
