# Suggestion for a new package: MinimalWorkingExamples.jl

**URL:** <https://discourse.julialang.org/t/suggestion-for-a-new-package-minimalworkingexamples-jl/59391>\
**Category:** Package Announcements\
**Tags:** question, package\
**Created:** [April 16, 2021, 7:43am UTC](https://discourse.julialang.org/t/suggestion-for-a-new-package-minimalworkingexamples-jl/59391 "2021-04-16T07:43:27Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![yakir12](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yakir12/32/297_2.png) [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Post date:** [April 16, 2021, 7:43am UTC](https://discourse.julialang.org/t/suggestion-for-a-new-package-minimalworkingexamples-jl/59391/1 "2021-04-16T07:43:27Z")

</div>

I have an idea for a package and am wondering if anyone feels like implementing it.

## `MinimalWorkingExamples.jl`

A package for Minimal Working Examples (MWE), where by `using MinimalWorkingExamples` the current REPL session

1. activates a temporary environment
2. catches all the `using SomePackage`
3. adds them to the environment
4. and finally runs the example

The idea isn’t to cover all edge cases but to be pretty simple as MWEs are expected to be. This will simply save the extra steps of activating a temporary environment and adding all the dependencies before trying out people’s MWEs. This tool should make it a lot easier for people to try out other people’s MWEs: just copy-paste into the REPL.

Of course, this would mean that people would need to have `MinimalWorkingExamples.jl` as a dependency in their main environment, and that all MWE code should begin with `using MinimalWorkingExamples`.

What do you think? Wanna build the next big thing in Julia? 😉

---

_[View the full topic](https://discourse.julialang.org/t/suggestion-for-a-new-package-minimalworkingexamples-jl/59391)._
