From: Michael Orlitzky Date: Thu, 9 Jul 2015 17:46:31 +0000 (-0400) Subject: Add a .ghci file. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=b76c603829fb20431ed1557510ee85c1afdd7cf2;p=dead%2Fharbl.git Add a .ghci file. --- diff --git a/.ghci b/.ghci new file mode 100644 index 0000000..53f4b20 --- /dev/null +++ b/.ghci @@ -0,0 +1,23 @@ +-- Set the include path. +:set -isrc -idist/build/autogen + +-- Load stuff. +:{ +:load src/Network/DNS/RBL.hs + src/Network/DNS/RBL/Domain.hs + src/Network/DNS/RBL/IPv4Pattern.hs + src/Network/DNS/RBL/Pretty.hs + src/Network/DNS/RBL/Site.hs +:} + +import Network.DNS.RBL +import Network.DNS.RBL.Domain +import Network.DNS.RBL.IPv4Pattern +import Network.DNS.RBL.Pretty +import Network.DNS.RBL.Site + +-- And import the stuff from Parsec we need for debugging. +import Text.Parsec ( parse, parseTest ) + +-- Use a calmer prompt. +:set prompt "harbl> "