title: how to reload OCaml modules in utop
body: <p>Is it possible reload modules in OCaml's <a href="https://github.com/diml/utop" rel="noreferrer">utop</a>?</p>
  
  <p>My development workflow goes something like this when playing around with OCaml code:</p>
  
  <p>First, open up a file <code>example.ml</code> in Vim and hack on it.  Switch to another terminal and run <code>utop</code>.  From within <code>utop</code>, load the code with the directive <code>#use "example.ml";;</code>.</p>
  
  <p>Go back to Vim and make some changes in the code.  After changing the code, I want to play around with the new changes.  Go back to <code>utop</code> and rerun the directive <code>#use "example.ml"</code>.</p>
  
  <p>It would be nice if there were a  <code>#reload</code> directive that would reload all previously loaded modules, but there doesn't appear to be.  <strong>Is there some way to easily reload all previously loaded modules?</strong></p>
  
  <p>Ideally this would work similarly to GHCi's <a href="https://downloads.haskell.org/~ghc/8.0.2/docs/html/users_guide/ghci.html#ghci-cmd-:reload" rel="noreferrer"><code>:reload</code></a> command.</p>