title: Julia: show body of function (to find lost code)
body: <p>In the R-language I am able to declare a function and to see the body of the function like so: </p>
  
  <pre><code>&gt; megafoobar = function(x){ return(x + 10000 )}
  &gt; body(megafoobar)
  {
      return(x + 10000)
  }
  </code></pre>
  
  <p>Is something like this also possible in Julia? I wrote a function that was very useful and it is still in memory/callable but I forgot how I wrote it. I am hoping such a method exists in Julia so I can find out how I wrote it. </p>