From 9fa508889c4bf34eddb9ba4c18e207463c41d348 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 30 Nov 2016 18:56:59 +0100 Subject: Added pointfree command for ghci --- haskell/ghci.symlink | 2 ++ 1 file changed, 2 insertions(+) diff --git a/haskell/ghci.symlink b/haskell/ghci.symlink index 9493fe9..3d39f10 100644 --- a/haskell/ghci.symlink +++ b/haskell/ghci.symlink @@ -15,3 +15,5 @@ let myPrint = putStrLn . HsColour.hscolour (HsColour.TTYg HsColour.XTerm256Compa :set prompt "λ. " :def hoogle \str -> return $ ":! hoogle --count=15 \"" ++ str ++ "\"" + +:def pf \str -> return $ ":! pointfree \"" ++ str ++ "\"" -- cgit v1.2.3