
5 May
2006
5 May
'06
7:34 a.m.
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

9 May
9 May
4:31 a.m.
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
6952
Age (days ago)
6956
Last active (days ago)
2 comments
2 participants
participants (2)
-
Juanma Barranquero
-
Simon Marlow