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 λ: "
Written by Owain Lewis
Related protips
4 Responses
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
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Haskell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#