# Is an explicit "export" a good thing?

**URL:** https://discourse.julialang.org/t/is-an-explicit-export-a-good-thing/7446
**Category:** General Usage
**Created:** [December 1, 2017, 9:31pm UTC](https://discourse.julialang.org/t/is-an-explicit-export-a-good-thing/7446 "2017-12-01T21:31:49Z")
**Posts on this page:** 1
**Showing post:** 35

<div class="post-metadata">

### Author: ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)
#### Post date: [December 2, 2017, 5:56pm UTC](https://discourse.julialang.org/t/is-an-explicit-export-a-good-thing/7446/35 "2017-12-02T17:56:16Z")

</div>

Here is the MWE:

```julia
module mmm # DEVELOPER WRITTEN: note NO explicit exports
"""
The "exported" function from this module is `publicfun`.
"""
function publicfun()
    println("in publicfun()")
end
function _privatefun()
    println("in _privatefun()")
end
end

```

```julia
module mmm_API # USER WRITTEN
# As one of the users who use `mmm` a lot from the REPL, I want to do `using mmm_API` 
# to get implicit access to both the public function 
# and the private function from the module `mmm`.
using mmm: publicfun, _privatefun
export publicfun, _privatefun
end

```

---

_[View the full topic](https://discourse.julialang.org/t/is-an-explicit-export-a-good-thing/7446)._
