]> gitweb.michael.orlitzky.com - dead/harbl.git/commitdiff
Add a .ghci file.
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 9 Jul 2015 17:46:31 +0000 (13:46 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 9 Jul 2015 17:46:31 +0000 (13:46 -0400)
.ghci [new file with mode: 0644]

diff --git a/.ghci b/.ghci
new file mode 100644 (file)
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> "