From c143a46637fa5e0e13563c842ead715265ca69ab Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sat, 16 Jan 2021 06:55:54 -0500 Subject: Add :test command to ghci --- .ghci | 1 + 1 file changed, 1 insertion(+) (limited to '.ghci') diff --git a/.ghci b/.ghci index ab99d7c..f03d43b 100644 --- a/.ghci +++ b/.ghci @@ -8,3 +8,4 @@ :def hoogle \s -> return $ ":! hoogle search --count=15 \"" ++ s ++ "\"" :def hdoc \s -> return $ ":! hoogle search --info \"" ++ s ++ "\"" :def f \_ -> return $ ":! ftags \n:r" +:def test \_ -> return $ ":main test" -- cgit v1.2.3