Skip to content

Instantly share code, notes, and snippets.

@ThuggishNuggets
Created March 18, 2020 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ThuggishNuggets/77e3b71a36c230730e40fdd567667994 to your computer and use it in GitHub Desktop.
Save ThuggishNuggets/77e3b71a36c230730e40fdd567667994 to your computer and use it in GitHub Desktop.
GHCi Configuration
:set prompt "\ESC[1;33m%s\n\ESC[0;33mλ: \ESC[m"
:def Q const . return $ ":q"
:def clear const . return $ ":! clear"
:def cls const . return $ ":! clear"
:def hlint const . return $ ":! hlint \"src\""
:def hoogle \s -> return $ ":! hoogle --count=15 \"" ++ s ++ "\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment