Advertisement
NLinker

My .ghci

Aug 17th, 2016
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. :set prompt "λ> "
  2. :set prompt2 "λ| "
  3.  
  4. :set editor vim
  5.  
  6. :def hlint const . return $ ":! hlint \"src\""
  7. :def hoogle \s -> return $ ":! hoogle --count=15 \"" ++ s ++ "\""
  8. :def pl \s -> return $ ":! pointfree \"" ++ s ++ "\""
  9.  
  10. :set +t
  11. :set -Wall
  12. :set -fno-warn-missing-signatures
  13. :set -fno-warn-type-defaults
  14. :set -fno-warn-name-shadowing
  15. :set -fno-warn-unused-do-bind
  16. :set -XOverloadedStrings
  17. :set -XNoMonomorphismRestriction
  18. :set -XRankNTypes
  19. :set -XScopedTypeVariables
  20.  
  21.  
  22. import Control.Arrow
  23. import Control.Applicative
  24. import Control.Monad
  25. import Control.Concurrent
  26. import Data.String
  27. import Data.Char
  28. import Data.List
  29. import Data.Maybe
  30. import Data.Monoid
  31. import Text.Printf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement