Alias for :quit in GHCi?

Simon Marlow simonmarhaskell at gmail.com
Tue May 9 04:31:48 EDT 2006


Juanma Barranquero wrote:
> Trivial question, just out of curiosity.
> 
> Why it is not possible to define aliases for :quit in GHCi?
> 
> Prelude> :def ayuda \_ -> return ":help"
> Prelude> :def adios \_ -> return ":quit"
> Prelude> :ayuda
>    ... normal help output...
> Prelude> :adios
> Prelude>

Sorry, that was a bug.  Now fixed.

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list