# Interactively finding files for types and functions directly, in Core and Base

**URL:** <https://discourse.julialang.org/t/interactively-finding-files-for-types-and-functions-directly-in-core-and-base/121099>\
**Category:** General Usage\
**Tags:** reflection\
**Created:** [October 9, 2024, 9:44am UTC](https://discourse.julialang.org/t/interactively-finding-files-for-types-and-functions-directly-in-core-and-base/121099 "2024-10-09T09:44:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Benny](https://avatars.discourse-cdn.com/v4/letter/b/49beb7/32.png) [@Benny](https://discourse.julialang.org/u/Benny)\
**Post date:** [October 9, 2024, 9:44am UTC](https://discourse.julialang.org/t/interactively-finding-files-for-types-and-functions-directly-in-core-and-base/121099/1 "2024-10-09T09:44:53Z")

</div>

Interactively finding a method’s file with `which` generally works well, except for Core. Finding where a type or a function is defined however is more indirect by going through the [module](https://docs.julialang.org/en/v1/base/base/#Reflection), and the module definition’s file often isn’t the file with the type or function. A file isn’t printed for `Base` or `Core` either.  
The motivating context is `Core.Array` being [reimplemented in Julia](https://julialang.org/blog/2024/10/julia-1.11-highlights/#array_now_implemented_in_julia_new_memory_type), I’m curious to see what’s going on there. The Github issue is enough, but I’m wondering if there’s something as quick and easy as `which` for this.
