title: How can I view the definition of a function in Haskell/GHCi?
body: <p>I'm using Haskell 2010.1.0.0.1 with GHC 6. Typing <code>:t</code> at the GHCi prompt followed by the name of a function shows us the type of the function. Is there a way to view the function definition as well?</p>