hjh-ew
Last Updated: February 25, 2016
·
5.524K
· owainlewis
1ae620d03681e7425c6ebb839f499449

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

Say Thanks
Respond

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
1ae620d03681e7425c6ebb839f499449

Amazing much better. Thanks. : )

over 1 year ago ·
8418
2699235

Thank's for pro tip :)

over 1 year ago ·
13038
1a4ff0766a653c62e0dab34bacda9873

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 ·