[Haskell-cafe] ghci - always show types

Christopher Done chrisdone at googlemail.com
Wed Oct 13 12:03:54 EDT 2010

On 13 October 2010 17:55, Ozgur Akgun <ozgurakgun at gmail.com> wrote:
> Just a quick question. Either I am hallucinating or there was a way of
> saying ghci to always show types. It was working as if you typed ":t it"
> after every line of input.
> Sorry, I searched but couldn't find the option via google. Hope someone here
> knows/remembers what I am talking about.

  Options for ':set' and ':unset':

    +r            revert top-level expressions after each evaluation
    +s            print timing/memory stats after each evaluation
    +t            print type after evaluation

See :help to get this display.

More information about the Haskell-Cafe mailing list