[Haskell-cafe] ghci - always show types

Gaius Hammond gaius at gaius.org.uk
Sun Oct 17 04:39:02 EDT 2010

On 13 Oct 2010, at 16:55, Ozgur Akgun wrote:

> Cafe,
> 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.

Here you go:

Prelude> :set +t
Prelude> 1 + 1
it :: Integer



More information about the Haskell-Cafe mailing list