summaryrefslogtreecommitdiff
path: root/.ghci
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2021-01-16 06:55:54 -0500
committerBen Sima <ben@bsima.me>2021-01-16 06:55:54 -0500
commitc143a46637fa5e0e13563c842ead715265ca69ab (patch)
tree7961ae6c8b2cad7d427825d9d45b228a069fb6f7 /.ghci
parentb66a045cd6e491987130145f311674fcedc00ca9 (diff)
Add :test command to ghci
Diffstat (limited to '.ghci')
-rw-r--r--.ghci1
1 files changed, 1 insertions, 0 deletions
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"