Alias for :quit in GHCi?

Juanma Barranquero lekktu at gmail.com
Fri May 5 07:34:45 EDT 2006


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>

--
                    /L/e/k/t/u


More information about the Glasgow-haskell-users mailing list