title: How to get type of the module in F#
body: <p>How to get 'System.Type' of the module?</p>
  
  <p>For example module:</p>
  
  <pre><code>module Foo =
       let bar = 1
  </code></pre>
  
  <p>And this does not work:</p>
  
  <pre><code>printfn "%s" typeof&lt;Foo&gt;.Name
  </code></pre>
  
  <p>Error is:</p>
  
  <pre><code>The type 'Foo' is not defined
  </code></pre>