hjh-ew
Last Updated: February 25, 2016
·
7.047K
· 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

7339

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

over 1 year ago ·
7340

Amazing much better. Thanks. : )

over 1 year ago ·
8418

Thank's for pro tip :)

over 1 year ago ·
13038

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 ·