Last Updated: February 25, 2016
·
8.537K
· owainlewis

Setting a lambda prompt in Haskell

If you want a nice looking prompt in ghci you can set it in your ghci.conf

If you're on a mac or linux it should be at ~/.ghc/ghci.conf. Create the file if it doesn't exist and add the following for a pretty lambda prompt : )

:set prompt "%s λ: " 

Picture

4 Responses
Add your response

If you add this:
:set prompt "%s λ: "
instead you get a lambda and the modules in scope

over 1 year ago ·

Amazing much better. Thanks. : )

over 1 year ago ·

Thank's for pro tip :)

over 1 year ago ·

Have seen this to late and wrote another tip regarding the Lambda and the modules at https://coderwall.com/p/13h9bw

I also covered coloring there.

over 1 year ago ·