diff options
author | Camil Staps | 2017-01-11 19:16:39 +0100 |
---|---|---|
committer | Camil Staps | 2017-01-11 19:16:39 +0100 |
commit | bb16f1b86c32d13df7be7245a871c4f191b7e5d4 (patch) | |
tree | ce42e2f3db5b0badbe5bd822de532a78c25f2622 /haskell/ghci.symlink | |
parent | cleanup (diff) |
Stowify repo
Diffstat (limited to 'haskell/ghci.symlink')
-rw-r--r-- | haskell/ghci.symlink | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/haskell/ghci.symlink b/haskell/ghci.symlink deleted file mode 100644 index e5bf06f..0000000 --- a/haskell/ghci.symlink +++ /dev/null @@ -1,20 +0,0 @@ -:set -v0 -:set -XNoMonomorphismRestriction -:set -Wall -fno-warn-name-shadowing -fno-warn-type-defaults -:set editor vim - -import qualified IPPrint -import qualified Language.Haskell.HsColour as HsColour -import qualified Language.Haskell.HsColour.Colourise as HsColour -import qualified Language.Haskell.HsColour.Output as HsColour - -let myColourPrefs = HsColour.defaultColourPrefs { HsColour.conid = [HsColour.Foreground HsColour.Yellow, HsColour.Bold], HsColour.conop = [HsColour.Foreground HsColour.Yellow], HsColour.string = [HsColour.Foreground HsColour.Green], HsColour.char = [HsColour.Foreground HsColour.Cyan], HsColour.number = [HsColour.Foreground HsColour.Red, HsColour.Bold], HsColour.layout = [HsColour.Foreground HsColour.White], HsColour.keyglyph = [HsColour.Foreground HsColour.White] } - -let myPrint = putStrLn . HsColour.hscolour (HsColour.TTYg HsColour.XTerm256Compatible) myColourPrefs False False "" False . IPPrint.pshow - -:set -interactive-print=myPrint -:set prompt "λ. " - -:def hoogle \str -> return $ ":! hoogle --count=15 \"" ++ str ++ "\"" - -:def pf \str -> return $ ":! pointfree \"" ++ str ++ "\"" |