Haskell Language Using GHCi Quitting GHCi


Example

You can quit GHCi simply with :q or :quit

ghci> :q
Leaving GHCi.

ghci> :quit
Leaving GHCi.

Alternatively, the shortcut CTRL+D (Cmd+D for OSX) has the same effect as :q.