
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. Best, Ozgur

On 13 October 2010 17:55, Ozgur Akgun
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.

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 2 it :: Integer Cheers, G
participants (3)
-
Christopher Done
-
Gaius Hammond
-
Ozgur Akgun