# \#cross-ref

**URL:** https://discourse.julialang.org/tag/cross-ref/1029.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Cross-referencing a function from a submodule defined later](https://discourse.julialang.org/t/cross-referencing-a-function-from-a-submodule-defined-later/80597)

<div class="topic-metadata">

**Author:** [@theogf](https://discourse.julialang.org/u/theogf)\
**Replies:** 1\
**Last updated:** [May 8, 2022, 10:58pm UTC](https://discourse.julialang.org/t/cross-referencing-a-function-from-a-submodule-defined-later/80597 "2022-05-08T22:58:35Z")

</div>

I want to cross ref a function defined in a later submodule. Here is an example: module A """ \[\`foo\`\](@ref) """ module B end module C """ foo """ function foo end end end This SO answer suggests that foo should be im…
