# What functions are visible in REPL?

**URL:** https://discourse.julialang.org/t/what-functions-are-visible-in-repl/107612
**Category:** New to Julia
**Tags:** question, module, scope
**Created:** [December 14, 2023, 1:56pm UTC](https://discourse.julialang.org/t/what-functions-are-visible-in-repl/107612 "2023-12-14T13:56:46Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jiang\_ming\_zhang](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jiang_ming_zhang/32/204063_2.png) [@jiang\_ming\_zhang](https://discourse.julialang.org/u/jiang_ming_zhang)
#### Post date: [December 14, 2023, 1:56pm UTC](https://discourse.julialang.org/t/what-functions-are-visible-in-repl/107612/1 "2023-12-14T13:56:47Z")

</div>

I am using some people’s package. I tried to look up some function in the REPL with ?. But it turned that the function could not be found.

The function is definitely there in the package.

Is it because the function is not exported?

---

<div class="post-metadata">

### Author: ![Nathan\_Boyer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nathan_boyer/32/14825_2.png) [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)
#### Post date: [December 14, 2023, 2:08pm UTC](https://discourse.julialang.org/t/what-functions-are-visible-in-repl/107612/2 "2023-12-14T14:08:16Z")

</div>

You can access unexported names by qualifying them with the package name:

```julia
julia> using XLSX

help?> writetable
search:

Couldn't find writetable

help?> XLSX.writetable
  writetable(filename, table; [overwrite], [sheetname])

  Write Tables.jl table to the specified filename.

```

This is true for both the help and using the functions.

---

<div class="post-metadata">

### Author: ![vettert](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vettert/32/30599_2.png) [@vettert](https://discourse.julialang.org/u/vettert)
#### Post date: [December 14, 2023, 3:28pm UTC](https://discourse.julialang.org/t/what-functions-are-visible-in-repl/107612/3 "2023-12-14T15:28:43Z")

</div>

Follow up question: is there a command that prints all exported items for a given module/package?

---

<div class="post-metadata">

### Author: ![fatteneder](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fatteneder/32/33991_2.png) [@fatteneder](https://discourse.julialang.org/u/fatteneder)
#### Post date: [December 14, 2023, 3:30pm UTC](https://discourse.julialang.org/t/what-functions-are-visible-in-repl/107612/4 "2023-12-14T15:30:45Z")

</div>

```julia-repl
help?> names
search: names fieldnames propertynames nameof NamedTuple @NamedTuple dirname var"name" tempname fullname basename fieldname gethostname

  names(x::Module; all::Bool = false, imported::Bool = false)

  Get an array of the names exported by a Module, excluding deprecated names. If all is true, then the list also includes non-exported names defined in the module, deprecated names, and compiler-generated names. If imported is true, then names explicitly imported from other
  modules are also included.

  As a special case, all names defined in Main are considered "exported", since it is not idiomatic to explicitly export names from Main.

  See also: @locals, @ __MODULE__.

```
