Published: January 27, 2018
by Tobias Pleyer
Tags: haskell, ghci

Giving GHCi a fancy lamda prompt

Write the following code in your GHCi configuration file (~/.ghci)

:set prompt  "\x03BB: "

Which will result in

$ ghci
GHCi, version 7.10.3: http://www.haskell.org/ghc/  :? for help
λ: putStrLn "Haskell rocks!"
Haskell rocks!
λ: