title: GHCi "let" -- what does it do?
body: <p>I'd appreciate if someone could point to docs on what &quot;let&quot; does in GHCi, or failing that, explain it convincingly.</p>
  <p>So far as I can tell, &quot;let&quot; (without &quot;in&quot;) is not part of the Haskell language per se, and on the other hand, it doesn't appear to be a GHCi command either, as it's not prefixed by colon.</p>